---
# System prepended metadata

title: '[x] Upgrade k8s to the 1.22'

---

# [x] Upgrade k8s to the 1.22

Things that will need to be upgraded 

- [ ] CustomResourceDefinition
    - [x] every resource use apiextensions.k8s.io/v1 version
    - [ ] applications.argoproj.io
        - [ ] Scope needs to be changed
        - [ ] Version needs to be changed
        - [ ] Subresources needs to be changed
        - [ ] PrinterColumn sneeds to be changed
    - [ ] appprojects.argoproj.io
        - [ ] Scope needs to be changed
- [ ] Webhook resources
- [x] APIService
    - [x] every resource use apiregistration.k8s.io/v1 version 
- [ ] TokenReview
    - [ ] to review
- [ ] SubjectAccessReview 
    - [ ] to review
- [ ] CertificateSigningRequest 
    - [ ] to review
- [x] Lease
    - [x] every resource use coordination.k8s.io/v1 version 
- [x] Ingress 
    - [x] spec.backend need to be changed. [Upgrade with helm template](https://gitlab.jit.team/devops/helm-templates/-/blob/main/app-template/templates/ingress.yaml)
    - [x] servicePort is changed
    - [x] serviceName is changed
    - [x] servicePort is ok
    - [x] pathType is correct
- [x] IngressClass
    - [x] every resource use networking.k8s.io/v1 
- [x] RBAC
    - [x] every resource use rbac.authorization.k8s.io/v1 version
- [ ] PriorityClass
- [x] Storage resources
    - [x] every resource usestorage.k8s.io/v1 version
- [x] Nginx ingress scaled to 0
- [x] Argocd namespace and resources deleted  

  
# [x] Upgrade k8s to the 1.22

Things that will need to be upgraded 

- [ ] CustomResourceDefinition
    - [x] every resource use apiextensions.k8s.io/v1 version
    - [ ] applications.argoproj.io
        - [ ] Scope needs to be changed
        - [ ] Version needs to be changed
        - [ ] Subresources needs to be changed
        - [ ] PrinterColumn sneeds to be changed
    - [ ] appprojects.argoproj.io
        - [ ] Scope needs to be changed
- [ ] Webhook resources
- [x] APIService
    - [x] every resource use apiregistration.k8s.io/v1 version 
- [ ] TokenReview
    - [ ] to review
- [ ] SubjectAccessReview 
    - [ ] to review
- [ ] CertificateSigningRequest 
    - [ ] to review
- [x] Lease
    - [x] every resource use coordination.k8s.io/v1 version 
- [x] Ingress 
    - [x] spec.backend need to be changed. [Upgrade with helm template](https://gitlab.jit.team/devops/helm-templates/-/blob/main/app-template/templates/ingress.yaml)
    - [x] servicePort is changed
    - [x] serviceName is changed
    - [x] servicePort is ok
    - [x] pathType is correct
- [x] IngressClass
    - [x] every resource use networking.k8s.io/v1 
- [x] RBAC
    - [x] every resource use rbac.authorization.k8s.io/v1 version
- [ ] PriorityClass
- [x] Storage resources
    - [x] every resource usestorage.k8s.io/v1 version

  
