Skip to content

Instantly share code, notes, and snippets.

@gengwg
Created June 19, 2023 16:20
Show Gist options
  • Save gengwg/2abcf404109d218fb2fd908e9f526c0a to your computer and use it in GitHub Desktop.
Save gengwg/2abcf404109d218fb2fd908e9f526c0a to your computer and use it in GitHub Desktop.
$ https_proxy="http://fwdproxy:8080" k deprecations --k8s-version=v1.26.0
W0610 10:16:52.170210 3539450 warnings.go:70] v1 ComponentStatus is deprecated in v1.19+
W0610 10:16:53.178949 3539450 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
RESULTS:
Deprecated APIs:
ComponentStatus found in /v1
├─ ComponentStatus (and ComponentStatusList) holds the cluster validation info. Deprecated: This API is deprecated in v1.19+
-> GLOBAL: scheduler
-> GLOBAL: controller-manager
-> GLOBAL: etcd-0
Deleted APIs:
PodSecurityPolicy found in policy/v1beta1
├─ API REMOVED FROM THE CURRENT VERSION AND SHOULD BE MIGRATED IMMEDIATELY!!
-> GLOBAL: arcprom-alertmanager
-> GLOBAL: arcprom-grafana
-> GLOBAL: arcprom-kube-state-metrics
-> GLOBAL: arcprom-operator
-> GLOBAL: arcprom-prometheus
-> GLOBAL: arcprom-prometheus-node-exporter
-> GLOBAL: kubecost-cost-analyzer-psp
PriorityLevelConfiguration found in flowcontrol.apiserver.k8s.io/v1beta1
├─ API REMOVED FROM THE CURRENT VERSION AND SHOULD BE MIGRATED IMMEDIATELY!!
-> GLOBAL: catch-all
-> GLOBAL: exempt
-> GLOBAL: global-default
-> GLOBAL: leader-election
-> GLOBAL: node-high
-> GLOBAL: system
-> GLOBAL: workload-high
-> GLOBAL: workload-low
FlowSchema found in flowcontrol.apiserver.k8s.io/v1beta1
├─ API REMOVED FROM THE CURRENT VERSION AND SHOULD BE MIGRATED IMMEDIATELY!!
-> GLOBAL: catch-all
-> GLOBAL: exempt
-> GLOBAL: global-default
-> GLOBAL: kube-controller-manager
-> GLOBAL: kube-scheduler
-> GLOBAL: kube-system-service-accounts
-> GLOBAL: probes
-> GLOBAL: service-accounts
-> GLOBAL: system-leader-election
-> GLOBAL: system-node-high
-> GLOBAL: system-nodes
-> GLOBAL: workload-leader-election
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment