OpenShift Cluster 4.13 Installation on a Single ESXi Host 8.0 | Step-by-Step Tutorial (1/2)

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ก.พ. 2025

ความคิดเห็น • 57

  • @Fame6206
    @Fame6206 26 วันที่ผ่านมา +1

    Hello sir, thank you so much for openshift videos. I wish i can give you 100 likes. You gave complete roadmap how to implement the openshift.Thank you so much .Your video has given me good ground to walk .Otherwise I was banging my head to understand the architecture design as to how APIs , ingress communicates with master nodes, worker nodes.

    • @gnancloudgarage
      @gnancloudgarage  26 วันที่ผ่านมา +1

      You're very welcome Sir! I'm glad the videos are helping you get a good grasp of the architecture. Thank you for your kind words Sir:-)

  • @sureshsugandham
    @sureshsugandham 7 หลายเดือนก่อน +2

    Thanks for better explanation. Nice explanation.

  • @gnancloudgarage
    @gnancloudgarage  ปีที่แล้ว +1

    Welcome to our comprehensive step-by-step guide on installing OpenShift Cluster 4.13 on a single ESXi Host 8.0!
    If you're looking to set up a powerful and scalable container orchestration platform for your projects, you're in the right place.
    In this tutorial, we walk you through the entire installation process, making it easy for both beginners and experienced users to follow along. We'll cover everything from the initial setup to configuring your OpenShift Cluster for optimal performance.
    Key topics covered in this video:
    Preparing your ESXi Host environment
    Downloading and setting up OpenShift Cluster 4.13
    Configuring essential settings for your cluster
    Tips and best practices for smooth operation
    Whether you're a developer, sysadmin, or just curious about OpenShift, this tutorial will give you the skills you need to get started with ease. Don't forget to like and subscribe for more tech tutorials and updates!
    If you have any questions or need further assistance, please leave a comment below. We're here to help you succeed with OpenShift Cluster 4.13!
    #OpenShift #ContainerOrchestration #ESXi #TechTutorial #DevOps #OpenShiftClusterInstallation #StepByStepGuide #OpenShift4.13 #ITInfrastructure #CloudNative
    #vmware #redhat #linux #vm #howto #cloud #install #lab
    Please refer to the following playlist for your review.
    Gnan Cloud Garage Playlists
    www.youtube.com/@gnancloudgar...
    VMware vSphere 7 & VMware vSphere Plus (+) | Data Center Virtualization
    th-cam.com/users/playlist?list...
    vSphere 7.x - Home lab - Quick Bytes | Data Center Virtualization
    th-cam.com/users/playlist?list...
    VMware vSphere 8
    th-cam.com/users/playlist?list...
    VMware vSAN 8
    th-cam.com/users/playlist?list...
    VMware NSX 4.x | Network Virtualization
    th-cam.com/users/playlist?list...
    VMware Cloud Foundation (VCF)+
    th-cam.com/users/playlist?list...
    VMware Aria Automation (formerly, vRealize Automation) | Unified Multi-Cloud Management
    th-cam.com/users/playlist?list...
    Interview Preparation for Technical Consultants, Systems Engineers & Solution Architects
    th-cam.com/users/playlist?list...
    VMware Tanzu Portfolio | Application Modernization
    th-cam.com/users/playlist?list...
    Modern Data Protection Solutions
    th-cam.com/users/playlist?list...
    Storage, Software-Defined Storage (SDS)
    th-cam.com/users/playlist?list...
    Zerto, a Hewlett Packard Enterprise (HPE) Company
    th-cam.com/users/playlist?list...
    The Era of Multi-Cloud Services|HPE GreenLake Solutions|Solution Architectures|Solution Designs
    th-cam.com/users/playlist?list...
    Gnan Cloud Garage (GCG) - FAQs |Tools |Tech Talks
    th-cam.com/users/playlist?list...
    VMware Aria Operations (formerly, vROps)
    th-cam.com/users/playlist?list...
    PowerShell || VMware PowerCLI
    th-cam.com/users/playlist?list...
    Hewlett Packard Enterprise (HPE) Edge to Cloud Solutions & Services
    th-cam.com/users/playlist?list...
    DevOps || DevSecOps
    th-cam.com/users/playlist?list...
    Red Hat Openshift Container Platform (RH OCP)
    th-cam.com/users/playlist?list...
    Windows Server 2022 - Concepts
    th-cam.com/play/PLjsBan7CwU.html...
    Red Hat Enterprise Linux (RHEL) 9 - Concepts
    th-cam.com/users/playlist?list...
    Microsoft Azure Stack HCI
    th-cam.com/users/playlist?list...
    NVIDIA AI Enterprise
    th-cam.com/users/playlist?list...
    Gratitude | Thank you messages
    th-cam.com/users/playlist?list...

    • @firehot57
      @firehot57 5 หลายเดือนก่อน +1

      Very well explained video? Is this IPI method

    • @gnancloudgarage
      @gnancloudgarage  หลายเดือนก่อน +1

      @@firehot57 Yes it was IPI method.

  • @archimail
    @archimail 10 หลายเดือนก่อน +1

    Thank you for the video.
    What are the recommended requirements for a helper node?
    Cpu, ram, disk?

    • @gnancloudgarage
      @gnancloudgarage  10 หลายเดือนก่อน +2

      Typically, for an OpenShift helper node, the recommended requirements vary based on the specific workload and scale of your cluster.
      However, as a general guideline, you might consider the following:
      - CPU: At least 2 cores, but more if your workload is CPU-intensive.
      - RAM: Minimum of 8GB, though 16GB or more is recommended for smoother performance, especially if running multiple containers.
      - Disk: Around 30GB for the operating system and any additional software, plus additional space for container images and application data. (~120 GB to 150 GB)
      Remember, these are just starting points and can vary based on your specific use case.

    • @archimail
      @archimail 10 หลายเดือนก่อน +1

      wow, you are very quick ) Thank you!

    • @gnancloudgarage
      @gnancloudgarage  10 หลายเดือนก่อน +1

      @@archimail You're welcome

  • @warzone_miftah
    @warzone_miftah 2 หลายเดือนก่อน +1

    I follow everything from this video, but my installation always failed during the boot.kube process.... And also, is the creating manifest and ignition-config is needed or not for OCP4.17? I really appreciate if you can solve my pain. Thank you...

    • @gnancloudgarage
      @gnancloudgarage  หลายเดือนก่อน +2

      Here are a few things to check that might help:
      1. Logs from `bootkube`:
      The logs can provide more details about what’s causing the failure. Use `journalctl -u bootkube.service` to view them and identify specific errors.
      2. Resource Requirements:
      Ensure that your master nodes meet the minimum requirements for OpenShift 4.17, as insufficient CPU or memory can cause the `bootkube` process to fail.
      3. Network Configuration:
      Verify DNS and network configurations, especially if you’re using a custom setup. Network issues are a common cause of `bootkube` failures.
      4. Manifests and Ignition Configs:
      For OCP 4.17, manifests and ignition files are automatically created by the OpenShift Installer. You usually don’t need to create them manually unless you’re performing an advanced or customized deployment.

  • @sudhakarreddy6115
    @sudhakarreddy6115 2 หลายเดือนก่อน +1

    Hello Sir, Nice explanation. Could you please help me with .YAML file config file content. I do see all the pre-requisites already updated in the file, little confuse during Install-Config.YAML. Please kindly help me to understand.

    • @gnancloudgarage
      @gnancloudgarage  2 หลายเดือนก่อน +1

      Hi Sir , Thank you for watching and for your kind words! 😊 I'd be happy to help with the install-config.yaml.
      This file is critical for defining the OpenShift cluster's configuration, like platform type, base domain, networking, and control plane details.
      If you're seeing all the prerequisites updated but are confused about specific sections, here are some key pointers:
      Platform Configuration:
      Ensure the platform section matches your infrastructure, like AWS, VMware, or bare metal.
      Networking:
      Double-check CIDR ranges for clusterNetwork and serviceNetwork to avoid conflicts.
      Control Plane and Compute Nodes:
      Verify the count, instance types, or sizes match your desired setup.
      Alternatively, you can refer to the official OpenShift documentation for examples tailored to different platforms.

  • @WeNeedToLiveForToday
    @WeNeedToLiveForToday 2 หลายเดือนก่อน +1

    Thanks for the video. The command "worker0" failed with some errors shown below. Please help
    ERROR Bootstrap failed to complete: timed out waiting for the condition
    ERROR Failed to wait for bootstrapping to complete. This error usually happens when there is a problem with control plane hosts that prevents the control plane operators from creating the control plane.

    • @gnancloudgarage
      @gnancloudgarage  2 หลายเดือนก่อน +1

      It seems the OpenShift cluster bootstrap process has failed due to a timeout in the control plane setup. This typically indicates an issue with the control plane hosts or their configuration.
      Here's how to troubleshoot and resolve the problem:
      1. Check Bootstrap Node Logs
      - SSH into the bootstrap node and check the logs to identify the root cause of the issue:
      journalctl -b -f -u bootkube.service
      journalctl -b -f -u kubelet.service
      - Look for errors related to Kubernetes components such as `etcd`, `API server`, or `controller-manager`.
      2. Validate Infrastructure
      - Ensure the control plane hosts (`master` nodes) meet the minimum requirements:
      - CPU, memory, and storage.
      - Proper network connectivity between bootstrap, control plane, and worker nodes.
      - Verify that DNS and load balancing are correctly configured:
      - Check that the `api.` and `*.apps.` records point to the correct IPs.
      - Confirm that the OpenShift installer can reach the control plane hosts.
      3. Confirm Ignition Files
      - Ensure the ignition configuration files for the control plane nodes (`master`) are valid and accessible.
      - Inspect logs on the control plane nodes:
      journalctl -b -u ignition.service
      - Check for issues in the files generated by the installer in the `bootstrap` directory.
      4. Verify etcd Cluster Health
      - The control plane depends on a healthy `etcd` cluster. Log in to the control plane nodes and check the etcd logs:
      journalctl -b -u etcd.service
      - Common issues include certificate mismatches or connectivity problems.
      5. Networking Issues
      - Ensure that required ports are open between nodes:
      - Control Plane: Ports `6443` (API server), `2379-2380` (etcd).
      - Worker Nodes: Ports `10250`, `30000-32767` (kubelet, services).
      - Validate that the bootstrap node can communicate with the master nodes.
      6. Gather Installer Logs
      - Inspect the `openshift-install` logs for detailed errors:
      openshift-install --dir= wait-for bootstrap-complete --log-level=debug
      7. Common Causes to Check
      - Disk Latency: Ensure the disks on control plane nodes aren't experiencing high latency.
      - Time Sync: Ensure all nodes (bootstrap, control plane, workers) have synchronized system clocks (NTP).
      - Load Balancer Issues: Verify that the load balancer is forwarding traffic correctly to the control plane nodes.
      Next Steps
      - Address any specific errors found in the logs and retry the bootstrap process:
      openshift-install --dir= wait-for bootstrap-complete

  • @srk8572
    @srk8572 5 หลายเดือนก่อน +1

    Good walk thru of the setup and well documented, appreciate the sharing, One question what is your hardware used in the demo, If i have to simulate the same do i need a machine with 96 gb of memory, did I get that right ?

    • @gnancloudgarage
      @gnancloudgarage  5 หลายเดือนก่อน +1

      Hi Srk,
      My hardware setup for the demo is an INTEL NUC 11 with 64 GB of memory. You don't necessarily need 96 GB of memory to simulate the same environment. Depending on the complexity of your workloads and the number of virtual machines you plan to run, 64 GB should be sufficient. However, if you're planning to run more intensive simulations or multiple VMs simultaneously, having additional memory could be beneficial.
      Thank you

  • @GameMex-h8y
    @GameMex-h8y 2 หลายเดือนก่อน +1

    Como puedo evitar que use ipv6 ? No puedo modificar la red, hay alguna configuración para que tome ipv4?

    • @gnancloudgarage
      @gnancloudgarage  2 หลายเดือนก่อน +2

      Hello!
      Thank you for your question.
      To prevent your system from using IPv6 and force it to use IPv4 without modifying the network, you can try the following:
      1. Set IPv4 as the priority in your operating system:
      - On Windows, go to your network adapter properties and disable IPv6.
      - On Linux, edit the network configuration file (e.g., `/etc/sysctl.conf`) to disable IPv6 by adding the following lines:
      net.ipv6.conf.all.disable_ipv6 = 1
      net.ipv6.conf.default.disable_ipv6 = 1
      Then, restart your network or system.
      2. Specify IPv4 directly in configurations: If you are configuring applications or services, make sure to use IPv4 addresses explicitly instead of domain names that might resolve to IPv6.
      3. Modify application or service settings: Some applications allow you to prioritize IPv4 over IPv6 in their internal settings.

  • @eramitmcsa
    @eramitmcsa ปีที่แล้ว +1

    thats great Brother

  • @asmalahmeh
    @asmalahmeh 2 หลายเดือนก่อน +1

    Hi bro.
    sorry for disturbing you this time, i followed the procedure to deploy openshift 4.17 over vsphere , but i faced an issue, the process failed after deploying the master nodes, and the worker nodes didn't create.
    Can you help how can i know the issue

    • @gnancloudgarage
      @gnancloudgarage  2 หลายเดือนก่อน +1

      Hi Bro,
      No problem at all, and thanks for reaching out!
      The issue you’re facing with worker nodes not being created could be related to several factors, such as:
      Bootstrap Node Logs:
      Check the logs on the bootstrap node to identify any errors. The journalctl command can provide detailed insights:
      journalctl -u bootkube.service
      vSphere Configuration:
      Ensure that the resources (CPU, memory, and storage) allocated for the worker nodes are sufficient and match the requirements.
      Networking:
      Verify that the network configuration (DNS, DHCP, and load balancers) is set up correctly for both master and worker nodes.
      Installation Logs:
      Review the OpenShift installer logs (openshift-install.log) for more details on where the process is failing.

  • @KrishnaKumar-zi9sk
    @KrishnaKumar-zi9sk 6 หลายเดือนก่อน +1

    Very good

  • @chadhamilton5111
    @chadhamilton5111 ปีที่แล้ว +1

    I assume your Router is not a DHCP server and your only DHCP server is your AD VM. Is that right? Seems this is the only way to get your DHCP requests answered by the VMs since its a flat network with everything on the same Subnet. If there was a 2nd DHCP server say running also on your Router, then this would cause issues with DHCP requests.
    Let me know if this is how you set it up. I can't see any other way.
    Good videos either way! Thanks!

    • @gnancloudgarage
      @gnancloudgarage  ปีที่แล้ว +1

      Thank you for your comment and for watching the videos!
      Yes, in the setup I demonstrated, the router is not acting as a DHCP server. Instead, the DHCP server functionality is handled by the AD VM. This approach works well in a flat network where all devices are on the same subnet.
      Here is the correlated video for your review. th-cam.com/video/tb25fzQ3D3M/w-d-xo.html

  • @eramitmcsa
    @eramitmcsa ปีที่แล้ว +1

    Bhai Online class bhi start kar do, bahut sahi padhate ho dost

    • @gnancloudgarage
      @gnancloudgarage  ปีที่แล้ว +2

      Hi Amit Bhai,
      I am unable to offer online classes at the moment due to my busy office work schedule.
      However, I will continue to upload free content during my spare time.
      Thank you for expressing your interest and sending me an email.
      Please refer to the following playlist for your review.
      Gnan Cloud Garage Playlists
      www.youtube.com/@gnancloudgarage5238/playlists
      VMware vSphere 7 & VMware vSphere Plus (+) | Data Center Virtualization
      th-cam.com/play/PLjsBan7CwUQAFA9m2dYEL2FmeRdRiyWBD.html
      vSphere 7.x - Home lab - Quick Bytes | Data Center Virtualization
      th-cam.com/play/PLjsBan7CwUQBZi-xYgihJop0psqK6S8sb.html
      VMware vSphere 8
      th-cam.com/play/PLjsBan7CwUQA9G1Fb27v9y6XhwjYgzVUy.html
      VMware vSAN 8
      th-cam.com/play/PLjsBan7CwUQDB-ncpxViZfidlhHX7EhSE.html
      VMware NSX 4.x | Network Virtualization
      th-cam.com/play/PLjsBan7CwUQBJf9uEQ3dE22HquzTllXCd.html
      VMware Cloud Foundation (VCF)+
      th-cam.com/play/PLjsBan7CwUQCjzyzI0iZZdf1v01ZLpL9Q.html
      VMware Aria Automation (formerly, vRealize Automation) | Unified Multi-Cloud Management
      th-cam.com/play/PLjsBan7CwUQDLH426kLQON-iVYWxIGAO1.html
      Interview Preparation for Technical Consultants, Systems Engineers & Solution Architects
      th-cam.com/play/PLjsBan7CwUQDEaC0BbothvP7WzY2cKv26.html
      VMware Tanzu Portfolio | Application Modernization
      th-cam.com/play/PLjsBan7CwUQCG1MHtPH-JIuvb851h0Luk.html
      Modern Data Protection Solutions
      th-cam.com/play/PLjsBan7CwUQCPj4P_a6k8pfTFLzRA-hGy.html
      Storage, Software-Defined Storage (SDS)
      th-cam.com/play/PLjsBan7CwUQB9m9W6gvWbr5xD8B4yEf8B.html
      Zerto, a Hewlett Packard Enterprise (HPE) Company
      th-cam.com/play/PLjsBan7CwUQBfQjbSbB4SKm_qTm5-tumo.html
      The Era of Multi-Cloud Services|HPE GreenLake Solutions|Solution Architectures|Solution Designs
      th-cam.com/play/PLjsBan7CwUQAfGjUuEYr1pYDBtrAmuuW7.html
      Gnan Cloud Garage (GCG) - FAQs |Tools |Tech Talks
      th-cam.com/play/PLjsBan7CwUQABniM-SAP02A0zzvAHq1m_.html
      VMware Aria Operations (formerly, vROps)
      th-cam.com/play/PLjsBan7CwUQD5q9xW5E7CD1uXuMnUUsMj.html
      PowerShell || VMware PowerCLI
      th-cam.com/play/PLjsBan7CwUQBIkdjpYNxmgZ27mPDNFgeD.html
      Hewlett Packard Enterprise (HPE) Edge to Cloud Solutions & Services
      th-cam.com/play/PLjsBan7CwUQDQOuihzMVCLaYVleYyHmdu.html
      DevOps || DevSecOps
      th-cam.com/play/PLjsBan7CwUQAFbpZ-rvmDDQxIhps6EN_i.html
      Red Hat Openshift Container Platform (RH OCP)
      th-cam.com/play/PLjsBan7CwUQCPmkx2rWj4xuF6LVFV8Fxl.html
      Windows Server 2022 - Concepts
      th-cam.com/play/PLjsBan7CwUQBEFXrQ9qdBxixl-uvjLEwY.html
      Red Hat Enterprise Linux (RHEL) 9 - Concepts
      th-cam.com/play/PLjsBan7CwUQCKohRN0k4h6-ilHdZQ-PHv.html
      Microsoft Azure Stack HCI
      th-cam.com/play/PLjsBan7CwUQD8yrIY-K-6G9yJ39zK_B2o.html
      NVIDIA AI Enterprise
      th-cam.com/play/PLjsBan7CwUQCczuCHXDu6WJS8UGVcf1xg.html
      Gratitude | Thank you messages
      th-cam.com/play/PLjsBan7CwUQAl2UeswWq4W-FqK-NisFVH.html
      All the Best!
      Best Regards
      Gnan

  • @tinsaeabebehabte
    @tinsaeabebehabte 11 หลายเดือนก่อน +1

    thank you sir for your explanation can you able to guide one by one step you checked in pre implementation section , implementation , post implementation section with
    cofiguration

    • @gnancloudgarage
      @gnancloudgarage  11 หลายเดือนก่อน +1

      Hi, Sir,
      Here are the corresponding video URLs for your review.
      Step-by-Step OpenShift 4.x Deployment Process: Prerequisites - vSphere 8 Infrastructure Validation
      th-cam.com/video/Tdb4nYkThZw/w-d-xo.htmlsi=9kvXu5MP0fZa1iGE
      Step-by-Step Red Hat OpenShift 4.x Deployment Process - Prerequisites - Configure DNS Records
      th-cam.com/video/XO4UxXsu138/w-d-xo.htmlsi=Bbxh459bsQJJ9aG1
      Step-by-Step Red Hat OpenShift 4.x Deployment Process - Prerequisites - Configure DHCP Scope
      th-cam.com/video/tb25fzQ3D3M/w-d-xo.htmlsi=nm0xQn4VimzenpHt
      Step-by-Step OpenShift 4.x Deployment Process - Prerequisites - Download OpenShift Installer
      th-cam.com/video/BOgAYBXa3zg/w-d-xo.htmlsi=TTqmJ5p_WeoPCII2
      Step-by-Step OpenShift 4.x | How to generate a Key Pair for the OpenShift cluster node’s SSH access?
      th-cam.com/video/0J5GKRly5ks/w-d-xo.htmlsi=jU8yZhwfe4hO2DiA
      Step-by-Step OpenShift 4.x | How to establish trust between vCenter 8 and OCP-helper VM?
      th-cam.com/video/NN5RSXpqti4/w-d-xo.htmlsi=Z2oV-S_JYgBxymK6
      Step-by-Step OpenShift 4.x | How to create an “install-config.yaml” file in OCP-helper VM?
      th-cam.com/video/PjOzEZ2KbRM/w-d-xo.htmlsi=hzMl3OlHWcxKcJ7H
      How to install Red Hat OpenShift 4.x on vSphere 8 using IPI Method? | OCP 4.11
      th-cam.com/video/lBVm-zLJTzo/w-d-xo.htmlsi=a4rnxNIbVDu3x1_5
      Step-by-Step OpenShift 4.x Deployment Process | Post-Implementation Procedure | OCP 4.11
      th-cam.com/video/ur9AFj3ePRs/w-d-xo.htmlsi=cphGp1QGpyWYAe3S
      How to Install an Application on RH OpenShift 4.11 using Web Console? | nginx
      th-cam.com/video/V5LAJgUOAW4/w-d-xo.htmlsi=A4B7q5jABgC-MMNF
      Thank you

  • @chandar992
    @chandar992 หลายเดือนก่อน +1

    where / how we are specfice the vm size like cpu, ram and disk space? How it takes 4 cpu, 16GB ram and 120GB disk?

    • @gnancloudgarage
      @gnancloudgarage  หลายเดือนก่อน +2

      In OpenShift's IPI (Installer-Provisioned Infrastructure) installation method, the sizes of the VMs (CPU, RAM, and disk space) are specified through the install-config.yaml file. This file contains details about the infrastructure, including the resource specifications for control plane (masters) and compute (workers) nodes.
      Steps to Specify VM Sizes:
      1. Edit the `install-config.yaml` file:
      After generating the installation configuration file with the `openshift-install create install-config` command, you can specify the size of the VMs.
      Look for the `platform` section, which depends on the cloud provider (e.g., AWS, Azure, vSphere, etc.).
      Example for AWS:
      yaml
      platform:
      aws:
      type: m5.xlarge
      Example for vSphere:
      yaml
      platform:
      vsphere:
      cpus: 4
      memoryMB: 16384
      diskSizeGB: 120
      - AWS/Cloud Platforms: The instance type (e.g., `m5.xlarge`) determines the VM size.
      - vSphere/Bare Metal: we can specify the CPU, memory, and disk sizes explicitly.
      2. How Resources Are Allocated Automatically:
      If we do not specify sizes explicitly, the installer uses default settings based on the platform. These defaults are typically:
      - Control Plane Nodes (Masters): 4 vCPUs, 16 GB RAM, 120 GB disk.
      - Compute Nodes (Workers): 4 vCPUs, 16 GB RAM, 120 GB disk.
      3. Customize VM Sizes (Platform-Specific):
      - AWS/GCP/Azure: Use the `type` field to set the instance type.
      - vSphere/Bare Metal: Define `cpus`, `memoryMB`, and `diskSizeGB` under the respective node group configuration.
      4. Apply the Configuration:
      After editing the `install-config.yaml`, run the OpenShift installation process with the `openshift-install` tool. The installer will provision resources based on the specified configuration.
      Verify the VM Sizes Post-Deployment:
      - Once OpenShift is installed, we can verify the resource allocations by checking the VMs directly on our infrastructure platform (e.g., AWS Console, vSphere UI).
      - Additionally, check the nodes in OpenShift:
      oc get nodes
      oc describe node
      This approach ensures the VMs are configured according to our needs during the IPI installation process.

    • @chandar992
      @chandar992 หลายเดือนก่อน +1

      @@gnancloudgarage Thanks for your response 😍 Nice explanation.

    • @gnancloudgarage
      @gnancloudgarage  หลายเดือนก่อน +1

      @@chandar992 Most welcome 😍

  • @sijujose1061
    @sijujose1061 ปีที่แล้ว +1

    Thanks for this, How much time does it takes before the master nodes are assigned an IP. I followed your procedure, but the master nodes never gets an IP and hence they keep waiting for ignition files. DHCP is working as bootstrap node gets an IP and I can see the logs using journalctl.

    • @gnancloudgarage
      @gnancloudgarage  ปีที่แล้ว +1

      Thanks for reaching out!
      The time it takes for master nodes to be assigned an IP can vary depending on several factors, including your network setup and infrastructure.
      If the master nodes are not getting an IP and are waiting for ignition files, there could be a few potential reasons for this issue:
      Network Configuration: Double-check your network configuration, especially the DHCP settings, to ensure that it's correctly configured for the installation.
      Firewall or Security Rules: Ensure that there are no firewall or security rules blocking the DHCP requests or responses for the master nodes.
      Resource Availability: Make sure you have sufficient resources available in your environment for the master nodes to be provisioned.
      Log Analysis: Review the logs on both the DHCP server and the master nodes to see if there are any error messages or issues that can provide more information about the problem.
      Good luck with your OpenShift installation!

  • @MasterpiecesofAirah
    @MasterpiecesofAirah 4 หลายเดือนก่อน

    Bro please make some vedios on upgrading openshift cluster to latest version with zero down time

    • @gnancloudgarage
      @gnancloudgarage  4 หลายเดือนก่อน

      Sure Bro, Will plan to do it. Thanks.
      Steps to Upgrade Red Hat OpenShift Cluster with Zero Downtime:
      1.Pre-requisites:
      -Ensure Cluster is Highly Available (HA):
      - The control plane (masters) and worker nodes must be configured in a highly available architecture.
      - Ensure that applications are configured with replicas across multiple nodes to avoid service disruption.
      2.Perform Health Checks:
      - Before starting the upgrade, verify the health of your cluster using `oc get nodes`, `oc get pods`, and other diagnostic commands.
      - Confirm that there are no critical alerts or failed components.
      3.Backup Critical Data:
      - Take a full backup of the cluster configuration and any persistent data.
      - If using OpenShift with persistent storage, ensure volumes are backed up or snapshots are taken.
      4.Upgrade Control Plane:
      - UseRed Hat OpenShift’s web console orCLI (oc adm upgrade) to start the upgrade process.
      - The upgrade will happen in a rolling fashion: control plane components (API servers, controllers) are updated one by one, maintaining service availability.
      5.Upgrade Worker Nodes:
      - Worker nodes are updated one at a time. Pods running on each worker are drained and moved to other available nodes to ensure application availability.
      - This is done usingrolling upgrades for worker nodes, ensuring pods are rescheduled on other nodes to maintain the service.
      6.Check and Validate Application Availability:
      - Ensure that applications are configured with adequate replicas and health checks to survive node drains.
      - Tools likehorizontal pod autoscaler (HPA) andreadiness probes ensure that the application remains up during node transitions.
      7.Monitor the Upgrade Process:
      - Use OpenShift’s monitoring tools likePrometheus,Grafana, andcluster logging to ensure everything is running smoothly.
      - Ensure nodes are upgraded successfully without errors and that pods are rescheduled properly.
      8.Post-Upgrade Validation:
      - Once the upgrade is complete, validate that all nodes are running the new version (`oc get nodes`), and applications are functioning as expected.
      - Perform smoke testing of critical services to ensure zero downtime.
      9.Rollback Plan:
      - If issues arise during the upgrade, use OpenShift’s rollback features or backups to restore the previous cluster state.

  • @snail1833
    @snail1833 7 หลายเดือนก่อน +1

    im trying to install a SNO cluster using the agent based method on vsphere which you need a local repo for as well. but isnt going to well the cluster just doesn't build not sure why.

    • @gnancloudgarage
      @gnancloudgarage  7 หลายเดือนก่อน +2

      Here are some troubleshooting steps and checks you can perform to help identify the issue:
      Troubleshooting Steps
      Verify Local Repository:
      Make sure your local repository is correctly configured and accessible from the nodes.
      Check the repository URL in your install-config.yaml file and ensure it points to the correct location.
      Check Network Connectivity:
      Ensure that all nodes have proper network access to the local repo and vSphere environment.
      Verify that there are no firewall rules or network issues blocking access.
      Inspect Logs:
      Check the installation logs for any errors or warnings. You can find these logs on the installer VM or in the openshift-installer directory.
      Look for log files like openshift-install.log or installer-bootstrap.log for detailed error messages.
      Verify Configuration Files:
      Double-check your install-config.yaml file for any misconfigurations.
      Ensure all necessary fields are correctly filled out, especially those related to the local repository and vSphere configurations.
      Check vSphere Configuration:
      Make sure that your vSphere environment is correctly set up for the OpenShift deployment.
      Verify that the resources (CPU, memory, storage) are adequate for the SNO cluster.
      Update OpenShift Installer:
      Ensure you are using the latest version of the OpenShift installer. An outdated installer might have bugs or compatibility issues.

    • @snail1833
      @snail1833 7 หลายเดือนก่อน

      @@gnancloudgarage i had a system wide proxy set on the machine i used to create the image and monitor the installl so i couldnt see progress when kicking of the agent install on the vsphere vm. My platform is none as well since its an sno node also u need to make sure the uuid is set to true for the disk otherwise the disks cannot be used and install wont go ahead.

  • @andrewsanthonysamy3641
    @andrewsanthonysamy3641 ปีที่แล้ว +1

    Please let me know where did you saved the spreadsheet

    • @gnancloudgarage
      @gnancloudgarage  ปีที่แล้ว +2

      Hi, I didn't save the spreadsheet anywhere. Thanks

  • @abhinavgahlaut1416
    @abhinavgahlaut1416 7 หลายเดือนก่อน +1

    Can you please paste the sample install-config for this installation

    • @gnancloudgarage
      @gnancloudgarage  7 หลายเดือนก่อน +1

      apiVersion: v1
      baseDomain: example.com
      metadata:
      name: my-cluster
      compute:
      - name: worker
      replicas: 3
      platform: {}
      controlPlane:
      name: master
      replicas: 3
      platform: {}
      networking:
      networkType: OpenShiftSDN
      clusterNetwork:
      - cidr: 10.128.0.0/14
      hostPrefix: 23
      serviceNetwork:
      - 172.30.0.0/16
      machineNetwork:
      - cidr: 192.168.0.0/24
      platform:
      none: {}
      pullSecret: '{"auths":{"cloud.openshift.com":{"auth":"","email":"you@example.com"}}}'
      sshKey: |
      ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyA... user@example.com
      fips: false

  • @sualihaulday759
    @sualihaulday759 5 หลายเดือนก่อน +1

    How to connect this VM to the command line

    • @gnancloudgarage
      @gnancloudgarage  5 หลายเดือนก่อน +1

      To connect to an OpenShift 4.x cluster and its nodes (both worker and master) via the command line, follow these steps:
      Prerequisites:
      1. OpenShift CLI (oc): Make sure you have the OpenShift CLI (`oc`) installed on your local machine.
      2. Access Credentials: Ensure you have the necessary access credentials and the URL of the OpenShift API server.
      1. Connecting to the OpenShift Cluster
      1. Log in to the OpenShift Cluster:
      Use the `oc login` command to authenticate to the OpenShift cluster. You'll need the API server URL and a token or username/password.
      oc login api.:6443 --token=
      Or, if using username and password:
      oc login api.:6443 --username= --password=
      Replace `` with your cluster's domain, ``, ``, and `` with your credentials.
      2. Verify Connection:
      Check that you are connected to the cluster and view cluster information:
      oc cluster-info
      This should return information about your cluster.
      2. Accessing Nodes (Worker and Master)
      1. Listing Nodes:
      To list all nodes (including master and worker nodes):
      oc get nodes
      2. Accessing Nodes:
      You generally connect to the nodes directly using SSH if you need to perform tasks on the nodes. The OpenShift CLI does not provide direct SSH capabilities to the nodes, but you can use `ssh` if you have the necessary access:
      ssh @
      Replace `` with the appropriate username and `` with the IP address of the node you want to access.
      3. Connecting to Pods
      1. List Pods:
      To see which pods are running in a namespace:
      oc get pods -n
      Replace `` with the name of your namespace. To list pods in all namespaces, omit the `-n ` option.
      2. Access a Pod:
      To access a specific pod's terminal:
      oc exec -it -n -- /bin/bash
      Replace `` with the name of the pod and `` with the namespace where the pod is running.
      4. Viewing Logs
      1. View Logs for a Pod:
      oc logs -n
      You can add `--previous` to view logs from a previous instance of the container if applicable.
      Additional Notes:
      - Make sure you have the necessary permissions to access nodes and perform actions.
      - Access to nodes via SSH depends on your cluster setup and the security policies in place.
      - For cluster management tasks that involve nodes, you might use tools like Ansible or Kubernetes management tools.
      This should cover basic connections to your OpenShift 4.x cluster and its nodes using the command line.

  • @مجامجازی
    @مجامجازی 7 หลายเดือนก่อน +1

    hi
    how to download action paln & ...

    • @gnancloudgarage
      @gnancloudgarage  7 หลายเดือนก่อน +1

      Hi,
      We can get it from Red hat website.
      Red Hat OpenShift Deployment:
      Pre-Implementation Steps
      Prepare the Action Plan with step-by-step Instructions of Compute, Network & Storage
      ESXi 8, vCenter 8.0
      Windows 2022 VM with AD, DNS, DHCP
      RHEL 8.x Helper VM
      Join all Systems to Base Domain
      Create a Domain Admin Account for vCenter
      Configure DNS records for OpenShift Cluster
      Configure DHCP Scope for OpenShift Cluster Nodes
      Download OpenShift Installer
      Implementation Procedure
      Generating a Key Pair for OpenShift Cluster node SSH access
      Adding vCenter root CA Certificates to OpenShift Helper VM to establish Trust
      Create a Working directory on Helper VM
      Extract the OpenShift-installer in a present working directory
      Create the Install-Config.YAML
      Deploy the OpenShift Cluster
      Creating Infrastructure Resources using Bastion Node
      Monitor until the OpenShift Cluster Install Complete
      Post-Implementation Procedure
      Access the OpenShift web console
      Production Cluster Ready
      Day-2 Install Operations
      Administrative/ Cluster Lifecycle
      Production Workloads
      Scale-out Worker Nodes

  • @abhijeetjoshi7881
    @abhijeetjoshi7881 ปีที่แล้ว +1

    sir can u take online class openshift
    plz confirm

    • @gnancloudgarage
      @gnancloudgarage  ปีที่แล้ว +1

      Hi Abhijeet Sir,
      I am unable to offer online classes at the moment due to my busy office work schedule.
      However, I will continue to upload free content during my spare time.
      Please refer to the following playlist for your review.
      Red Hat Openshift Container Platform (RH OCP)
      th-cam.com/play/PLjsBan7CwUQCPmkx2rWj4xuF6LVFV8Fxl.html
      Gnan Cloud Garage Playlists
      www.youtube.com/@gnancloudgarage5238/playlists
      All the Best!
      Best Regards
      Gnan

    • @abhijeetjoshi7881
      @abhijeetjoshi7881 ปีที่แล้ว

      Sir Help with all series from scratch sir it is request @@gnancloudgarage

  • @bundorin4879
    @bundorin4879 ปีที่แล้ว +1

    May I ask do you need to install any software LB for API and ingress? As I cannot connect and pull api, it always mentions about no route or host in the logs. It would be helpful if you share your opinion on this.

    • @gnancloudgarage
      @gnancloudgarage  ปีที่แล้ว +1

      Hi,
      We don't need to install any software Load Balancer (LB) for API and Ingress.
      However, please ensure that our OpenShift helper node or bastion has a stable internet connection.
      Thank you