[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [atomic-devel] Upgrade from kubernetes-apiserver to kubernetes-sig-apiserver



I think I got the master to work, but the nodes are in a strange state now:

# atomic install --system --system-package=no --name kubelet registry.centos.org/centos/kubernetes-sig-kubelet:latest
Extracting to /var/lib/containers/atomic/kubelet.0
File /etc/kubernetes/config already exists
File /etc/kubernetes/kubelet already exists
systemctl daemon-reload
systemctl enable kubelet

<1># systemctl enable kubelet
Failed to execute operation: Access denied

<1># systemctl daemon-reload

# systemctl enable kubelet
Failed to execute operation: No such file or directory


atomic install finished with error code 1 and now systemctl enable is acting up. Also, uninstalling it does not work, but I guess that is expected:

# atomic uninstall kubelet
Unable to find 'kubelet' in the following backends: docker, ostree


Thanks,
Rares


On Wed, May 30, 2018 at 4:22 PM, Rares Vernica <rvernica gmail com> wrote:
Hello,

I installed and have been using kubernetes-apiserver and the other related packages installed with:

> atomic install --system --system-package=no --name kube-apiserver registry.centos.org/centos/kubernetes-apiserver:latest

I wanted to get a more recent version of Kubernetes, so I installed kubernetes-sig-apiserver and the other related packages with:

> atomic install --system --system-package=no --name kube-apiserver registry.centos.org/centos/kubernetes-sig-apiserver:latest

After restart, when I check the version it seems that the older Kubernetes is still used:

# kubectl version
Client Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.2", GitCommit:"269f928217957e7126dc87e6adfa82242bfe5b1e", GitTreeState:"clean", BuildDate:"2017-07-03T15:31:10Z", GoVersion:"go1.7.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.2", GitCommit:"269f928217957e7126dc87e6adfa82242bfe5b1e", GitTreeState:"clean", BuildDate:"2017-07-03T15:31:10Z", GoVersion:"go1.7.4", Compiler:"gc", Platform:"linux/amd64"}

How can I enable and use Kubernetes from the newer kubernetes-sig-apiserver packages?

Thanks!
Rares


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]