# Upgrade Kubernetes in an air gapped environment

**URL:** <https://discuss.kubernetes.io/t/upgrade-kubernetes-in-an-air-gapped-environment/17383>\
**Category:** General Discussions\
**Created:** [September 9, 2021, 5:09pm UTC](https://discuss.kubernetes.io/t/upgrade-kubernetes-in-an-air-gapped-environment/17383 "2021-09-09T17:09:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexd](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/alexd/32/8563_2.png) [@alexd](https://discuss.kubernetes.io/u/alexd)\
**Post date:** [September 9, 2021, 5:09pm UTC](https://discuss.kubernetes.io/t/upgrade-kubernetes-in-an-air-gapped-environment/17383/1 "2021-09-09T17:09:03Z")

</div>

### Cluster information: Kubernetes v1.18.0 offline upgrade

Kubernetes version: v1.18.0  
Cloud being used: bare-metal  
Installation method: manual  
Host OS: CentOS Linux release 7.9.2009 (Core)  
CNI and version: Flannel  
CRI and version: Docker version 20.10.7, build f0df350

I am trying to upgrade my Kubernetes cluster that is in an air gapped environment. I copied all the RPM’s and container images that I needed for v1.22.1. I have upgraded the RPM’s and have modified the manifest appropriately in /etc/kubernetes/manifests. Problem is there is no manifest for kube-proxy and kube-proxy is still running the old container images. Also when I run “kubectl -n kube-system get cm kubeadm-config -o yaml” it shows “kubernetesVersion: v1.18.0”. How do I get kube-proxy to run the correct container and the cluster to reflect the correct version?

Thanks!
