We modified:/var/lib/kubelet/config.yaml Please see attachment
There is no below file in customer env:/etc/systemd/system/multi-user.target.wants/docker.service
We modified: /etc/kubernetes/manifests/kube-controller-manager.yaml Please see attachment
We modiefied: /etc/kubernetes/manifests/kube-scheduler.yaml Please see attachment
We modified: /etc/kubernetes/manifests/kube-apiserver.yaml Please see attachment
There is no in customer env /usr/lib/systemd/system/kubelet.service.d/10-kubeadm.conf or /etc/ systemd/system/kubelet.service.d/10-kubeadm.conf We modified /etc/systemd/system/multi-user.target.wants/kubelet.service Please see attachment
I just wanted to follow up on ZhangFan4's question. He reports that he was able to work around his issues.
The user reports that he does have CentOS 7.4.
His paths for the feature gates and Docker service were different than that in the docs. He was able to find the files in different locations and modify them appropriately.
He did modify the verify.kubernetes script MINION_PROCS to point to his location.
He also installed the VxFlex OS Storage Data Client (SDC) on the Master.
I also had issues with setting up the feature gates. I found that copy and paste from the Prod Guide did not work as expected. To help I ran the yaml through a yaml checker to assist with spacing, alignment, and dashes.
I also ran Flo_csl's recommended command to check the feature gates. Mine now show enabled:
systemctl status kubelet.service -l
â kubelet.service - kubelet: The Kubernetes Node Agent
Loaded: loaded (/usr/lib/systemd/system/kubelet.service; enabled; vendor preset: disabled) Drop-In: /usr/lib/systemd/system/kubelet.service.d ââ10-kubeadm.conf Active: active (running) since Thu 2019-06-27 16:48:23 EDT; 4 days ago Docs: https://kubernetes.io/docs/ Main PID: 7838 (kubelet) Tasks: 30 Memory: 143.9M CGroup: /system.slice/kubelet.service ââ7838 /usr/bin/kubelet --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --kubeconfig=/etc/kubernetes/kubelet.conf --allow-privileged=true --feature-gates=VolumeSnapshotDataSource=true,KubeletPluginsWatcher=true,CSINodeInfo=true,CSIDriverRegistry=true,BlockVolume=true,CSIBlockVolume=true--config=/var/lib/kubelet/config.yaml --cgroup-driver=systemd --network-plugin=cni --pod-infra-container-image=k8s.gcr.io/pause:3.1
1. Oracle Linux is not officially supported for VxFlex OS + CSI. That probably explains why the path for systemd is different than the one documented
2. You have `ErrImagePull` errors, this means your k8s nodes can't access to the docker hub to pull images. You can get more details with : kubectl describe pod vxflexos-controller-0 -n vxflexos
3. For the missing flags, if you do a systemctl status kubelet.service -l can you see them configured ?
gashof
1 Rookie
•
46 Posts
3977
0
Posted July 2nd, 2019 09:00
I just wanted to follow up on ZhangFan4's question. He reports that he was able to work around his issues.
The user reports that he does have CentOS 7.4.
His paths for the feature gates and Docker service were different than that in the docs. He was able to find the files in different locations and modify them appropriately.
He did modify the verify.kubernetes script MINION_PROCS to point to his location.
He also installed the VxFlex OS Storage Data Client (SDC) on the Master.
I also had issues with setting up the feature gates. I found that copy and paste from the Prod Guide did not work as expected. To help I ran the yaml through a yaml checker to assist with spacing, alignment, and dashes.
I also ran Flo_csl's recommended command to check the feature gates. Mine now show enabled:
systemctl status kubelet.service -l
â kubelet.service - kubelet: The Kubernetes Node Agent
Loaded: loaded (/usr/lib/systemd/system/kubelet.service; enabled; vendor preset: disabled)
Drop-In: /usr/lib/systemd/system/kubelet.service.d
ââ10-kubeadm.conf
Active: active (running) since Thu 2019-06-27 16:48:23 EDT; 4 days ago
Docs: https://kubernetes.io/docs/
Main PID: 7838 (kubelet)
Tasks: 30
Memory: 143.9M
CGroup: /system.slice/kubelet.service
ââ7838 /usr/bin/kubelet --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --kubeconfig=/etc/kubernetes/kubelet.conf --allow-privileged=true --feature-gates=VolumeSnapshotDataSource=true,KubeletPluginsWatcher=true,CSINodeInfo=true,CSIDriverRegistry=true,BlockVolume=true,CSIBlockVolume=true--config=/var/lib/kubelet/config.yaml --cgroup-driver=systemd --network-plugin=cni --pod-infra-container-image=k8s.gcr.io/pause:3.1