*Updated : Installing OpenShift 4.7 on VMware via UPI & Static IP addressing

  Рет қаралды 17,762

OCPdude

OCPdude

Күн бұрын

Пікірлер: 61
@jonhardt6137
@jonhardt6137 3 жыл бұрын
Thank you for this video - exactly what I was looking for! Subscribed
@hendasalhi2273
@hendasalhi2273 Жыл бұрын
Good job !! Great video, Thanks.
@InfiniteSavitar
@InfiniteSavitar 2 жыл бұрын
thanks for your video! quick question, is vSAN required? If my VM cluster only has 3 physical machines without vSAN/ separated NFS server, is it still possible to install OCP on VMWare using VMware vSphere, not Bare metal to provision the instances? Thanks!
@OCPdude
@OCPdude 2 жыл бұрын
Yes, vSan is not a requirement. I actually only use it for the workers and shared storage. Previously I just pinned the nodes on hosts and leveraged NFS.
@dungdinhxuan72
@dungdinhxuan72 2 жыл бұрын
Thanks for this video. I'm following this video but I have issue. When start Bootstrap node or any node of Openshift Cluster, fail with this problem: emergency.service failed with result "exit-code". How to fix that problem? Thanks again!
@OCPdude
@OCPdude 2 жыл бұрын
Usually this is a network issue, either the load balancer isn't configured correctly or DNS isn't resolving the api. Double check both of these and add "--log-level=debug" to your install script.
@hyunjunechoi1154
@hyunjunechoi1154 2 жыл бұрын
Is there a reason why don't you use "openshift-install waiting-for bootstrap-complete" unlike the manual?
@OCPdude
@OCPdude 2 жыл бұрын
I’ve installed it so often I assume it will complete. 😬
@ovidiuvisan2563
@ovidiuvisan2563 3 жыл бұрын
Thank you, the best guide!
@vanpham2527
@vanpham2527 3 жыл бұрын
Hi OCPdude. Very nice turotials, thanks! The bootstrap VM in my setup always goes into Emergency Shell then hang after 'Started Setup Virtual Console'. Any pointer to what's wrong? My install-config.yaml looks similar to yours with the proxy block since my lab is behind proxy.
@OCPdude
@OCPdude 3 жыл бұрын
Is it loading the append-bootstrap.yaml?
@vanpham2527
@vanpham2527 3 жыл бұрын
@@OCPdude I don't think it's getting to bootstrapping part yet. Here is the screenshot.
@vanpham2527
@vanpham2527 3 жыл бұрын
sorry, I couldn't post the screenshot.
@OCPdude
@OCPdude 3 жыл бұрын
@@vanpham2527 email me.
@_l0v3saki
@_l0v3saki 3 ай бұрын
can i specifiy the ips for the master node in yaml file as i am not using dhcp
@OCPdude
@OCPdude 3 ай бұрын
@@_l0v3saki you can in the install-config file.
@emadkamel2801
@emadkamel2801 2 жыл бұрын
I'm sorry for that naive question, but how do you configure the haproxy box with two IP addresses? I think you can't put two IPs from the same subnet to one Linux machine, am I right?
@OCPdude
@OCPdude 2 жыл бұрын
Sub interface. You can Linux or Windows listening on multiple IP address, even on the same subnet.
@emadkamel2801
@emadkamel2801 2 жыл бұрын
@@OCPdude Thanks shaker ❤❤
@emadkamel2801
@emadkamel2801 2 жыл бұрын
Hello Shaker, I've a question. what is the point from provisioning worker nodes on vSAN?
@OCPdude
@OCPdude 2 жыл бұрын
@@emadkamel2801 I really only have 2 reasons... 1) I can vMotion the compute nodes as they don't have the same latency demands that the controller nodes do and 2) I have a lot of capacity there so scaling up nodes is easier.
@emadkamel2801
@emadkamel2801 2 жыл бұрын
@@OCPdude I thought it was related to the bug you reported to red hat regarding provisioning PVC (VMware vSphere 7 cannot create "thin" pvc's after a clean install.), so you moved worker nodes to vSAN to be able to provision PVCs successfully. I'm stuck now on the same case, when I create a PVC it is stuck on pending state and gives me the same error you faced (Failed to provision volume with StorageClass "thin": ServerFaultCode: Cannot complete file creation operation.)
@irfanhssn7
@irfanhssn7 Жыл бұрын
Hi OCPdude, Provided guestinfo.afterburn.initrd.network-kargs parameter with required values IP=**** but after booting the bootstarp node somehow its taking ip v6 and local domain instead of provided one. Any help on this?
@mohamedabdallah6493
@mohamedabdallah6493 11 ай бұрын
Same issue with me are any one know how to solve this @ocpdude
@naim862
@naim862 5 ай бұрын
@@mohamedabdallah6493 same issue for me , any suggestion
@bobby07241
@bobby07241 3 жыл бұрын
Hey OCPdude do you know if is possible to migrate the HAproxy for the api and ingress of a UPI install to a deployment inside the OCP installation as the one that the IPI install provides ?
@OCPdude
@OCPdude 3 жыл бұрын
Yeah, it shouldn’t be a problem to just run it in the platform. I’m doing a rebuild tomorrow, I’ll give it a go and get back to you.
@OCPdude
@OCPdude 3 жыл бұрын
Roberto, Unfortunately I wasn't able to quickly locate the internal proxy configuration used in IPI though, it does appear to be VIP's in haproxy. I discovered this by /etc/keepalived/keepalived.conf on the master nodes and /etc/kubernetes/static-pod-resources/keepalived/* & haproxy/ - sorry I don't have a good configuration answer for you at this point.
@bobby07241
@bobby07241 3 жыл бұрын
@@OCPdude Dont worry thats ok, i can handle the ha proxy config, i like UPI it gives me more flexibility but when the numbre of apps start to increase the haproxy config for the required nodeports start to grow and is hard to maintain
@shoibericsson5007
@shoibericsson5007 2 жыл бұрын
@@bobby07241 youtube.com/@OCPdude Hi guys, did you find how to move Haproxy inside the cluster rather it being on provisioner node?
@shoibericsson5007
@shoibericsson5007 2 жыл бұрын
@@OCPdude Hi, did you find any solution to move *api *apps from Haproxy to inside the cluster itself?
@FabianoNotari82
@FabianoNotari82 2 жыл бұрын
Hello OCPdude, Amazing video. If I want to use two more nodes as infra, I upload it with the worker's ingnition and after that how would I create its machine config pool? Is it necessary to create a machine config for infra?
@elsabaa85
@elsabaa85 3 жыл бұрын
Great video 👍
@w4hfits807
@w4hfits807 2 жыл бұрын
Amazing work ! thank you for all the awesome videos. I have a small request, can you do a video of a Platform Agnostic Installation please ? without UPI or IPI. Thanks again for all the hard work you're making.
@hyunjunechoi1154
@hyunjunechoi1154 2 жыл бұрын
I'm curious about the latest version that was successfully installed on vshpere I try 4.10 but installation failed
@OCPdude
@OCPdude 2 жыл бұрын
I run 4.10 OKD today without any issues.
@hyunjunechoi1154
@hyunjunechoi1154 2 жыл бұрын
@@OCPdude bootstrap and the 3 of master are normally ignition success, but the internal server error continues to occur due to the worker node I checked ignition success of all masters and turned on the worker right away
@OCPdude
@OCPdude 2 жыл бұрын
@@hyunjunechoi1154 check your load balancer and DNS, your api and wildcard should resolve correctly.
@hyunjunechoi1154
@hyunjunechoi1154 2 жыл бұрын
@@OCPdude I don't think there is a problem with api or dns, so wouldn't the master's ignition also fail? Of course, I checked dns resolve with tools such as dig and also checked the port that is waiting(tcp) on the api server(haproxy)
@OCPdude
@OCPdude 2 жыл бұрын
@@hyunjunechoi1154 bootstrap kicks off the masters, the workers load from the master nodes (api) and require access to port 6443 over api.cluster.domain.com, api-int.cluster.domain.com and port 443 for *.apps.cluster.domain.com. ESX should also be version 6.7U3 or 7, hardware level 15. Some things to check.
@andrianeko7745
@andrianeko7745 2 жыл бұрын
Hi OCPdude, Amazing video. But will be good if you have detail steps too on text & picture, like a your github or website. So we can deep learning your steps too. Special note when you add configuration parameter when create vm's, the text it's not clear. Please inform me if already exist. I'm very appreciate for this. 🙏 Thank you.
@OCPdude
@OCPdude 2 жыл бұрын
You an adjust the video up to 4K, hopefully that will help the clarity. I did not write out the steps from this video, but you can refer to my OKD install github.com/ocpdude/okd-install since it has many of the same steps.
@ajaydurande8389
@ajaydurande8389 3 жыл бұрын
Can you please make a video on openshift install in restricted network on vsphere using UPI Method
@OCPdude
@OCPdude 3 жыл бұрын
I assume you'd just combine the disconnected registry demo along with the vmware upi install video. Is there something else you're looking for?
@ajaydurande8389
@ajaydurande8389 3 жыл бұрын
@@OCPdude actually we are not able to touch our production DNS nor we can create DNS and DHCP on same up subnets provided by VMware team . I want to know in detail how can in use DNS and DHCP in restricted network, where external users will access cluster services
@OCPdude
@OCPdude 3 жыл бұрын
@@ajaydurande8389 If you use static IP's like in this video, you won't need DHCP. As for DNS, at the very least you'll need some way of resolving the api and *.apps. As to not conflict with other domains, you could use a sub-domain for DNS resolution, or you could just use host files from your build and access machine (bastion host).
@neerajsharma3690
@neerajsharma3690 2 жыл бұрын
Can I setup this lab in VMware workstation 16?
@OCPdude
@OCPdude 2 жыл бұрын
I'd recommend you look at Code Ready Containers (CRC) instead : kzbin.info/www/bejne/rqC0p6ZufalorsU You'll get the same environment without taxing your system so much, and all on 1 node.
@neerajsharma3690
@neerajsharma3690 2 жыл бұрын
@@OCPdude Thanks for the suggestion. You won't believe but I actually bought a laptop with 64gb ram for just testing the OC installation :) . And I tried installing (almost all versions from 4.5 to 4.10) it more than 50 times using Linux hypervisor VMM and it never worked. Finally I came across your video with different way of installation so thought of checking with you before I try.
@OCPdude
@OCPdude 2 жыл бұрын
@@neerajsharma3690 right, nice! I haven’t done it myself using workstation. I figure networking might be trouble, and you will still need a load balancer and good local dns. You can also run OCP as a single node, unless your goal is a full cluster. With enough CPU you should be able to pull off a cluster and 2 worker nodes with the memory you have. Although your CPU will likely hate you.
@ridinglycan318
@ridinglycan318 2 жыл бұрын
What is the role of Bastion host?
@OCPdude
@OCPdude 2 жыл бұрын
👋 the bastion host is just where I am installing OpenShift from, it is not relevant for the install.
@ridinglycan318
@ridinglycan318 2 жыл бұрын
@@OCPdude how you able to get cluster information from bastion host while it was not the part of cluster?
@OCPdude
@OCPdude 2 жыл бұрын
@@ridinglycan318 by exporting the .kube/config 21:08 which has the relevant info for the cluster.
@satyasekharveeranki9383
@satyasekharveeranki9383 3 жыл бұрын
Font is not clear
@latheefp2001
@latheefp2001 3 жыл бұрын
its clear, make it HD while viewing.
@satyasekharveeranki9383
@satyasekharveeranki9383 3 жыл бұрын
Bro still not able to view
@OCPdude
@OCPdude 3 жыл бұрын
KZbin is still processing this video into HD and then 4K… I have unlisted it until they are done.
Install OpenShift 4.6 via UPI on VMware
48:09
OCPdude
Рет қаралды 21 М.
За кого болели?😂
00:18
МЯТНАЯ ФАНТА
Рет қаралды 3,5 МЛН
А я думаю что за звук такой знакомый? 😂😂😂
00:15
Денис Кукояка
Рет қаралды 5 МЛН
Installing OpenShift 4.7 on VMware via IPI
7:17
OCPdude
Рет қаралды 10 М.
Installing Ceph 5 storage using cephadm
29:22
OCPdude
Рет қаралды 7 М.
Getting started with Single Node OpenShift
15:35
Ryan Nix
Рет қаралды 7 М.
The cloud is over-engineered and overpriced (no music)
14:39
Tom Delalande
Рет қаралды 693 М.
Proxmox vs ESXi in 2024
12:37
VirtualizationHowto
Рет қаралды 30 М.
За кого болели?😂
00:18
МЯТНАЯ ФАНТА
Рет қаралды 3,5 МЛН