mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 03:57:41 +00:00
Fix a warning message about the gce in-tree cloud provider state
This commit is contained in:
parent
de521a9191
commit
4ff239029c
@ -221,6 +221,7 @@ const (
|
|||||||
// owner: @andrewsykim
|
// owner: @andrewsykim
|
||||||
// alpha: v1.23
|
// alpha: v1.23
|
||||||
// beta: v1.29
|
// beta: v1.29
|
||||||
|
// GA: v1.31
|
||||||
//
|
//
|
||||||
// Disable in-tree functionality in kubelet to authenticate to cloud provider container registries for image pull credentials.
|
// Disable in-tree functionality in kubelet to authenticate to cloud provider container registries for image pull credentials.
|
||||||
DisableKubeletCloudCredentialProviders featuregate.Feature = "DisableKubeletCloudCredentialProviders"
|
DisableKubeletCloudCredentialProviders featuregate.Feature = "DisableKubeletCloudCredentialProviders"
|
||||||
|
@ -40,7 +40,7 @@ var (
|
|||||||
external bool
|
external bool
|
||||||
detail string
|
detail string
|
||||||
}{
|
}{
|
||||||
{"gce", false, "The GCE provider is deprecated and will be removed in a future release. Please use https://github.com/kubernetes/cloud-provider-gcp"},
|
{"gce", true, "The GCE built-in cloud provider was removed. Please use https://github.com/kubernetes/cloud-provider-gcp"},
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ Begin with 1.20, all cloud providers should not copy over or vendor in `k8s.io/k
|
|||||||
1. Have your external repo under k8s.io. e.g. `k8s.io/cloud-provider-<provider>`
|
1. Have your external repo under k8s.io. e.g. `k8s.io/cloud-provider-<provider>`
|
||||||
2. Create `main.go` file under your external repo CCM directory. Please refer to `basic_main.go` for a minimum working sample.
|
2. Create `main.go` file under your external repo CCM directory. Please refer to `basic_main.go` for a minimum working sample.
|
||||||
Note: If you have a requirement of adding/deleting controllers within CCM, please refer to `k8s.io/kubernetes/cmd/cloud-controller-manager/main.go` for extra details.
|
Note: If you have a requirement of adding/deleting controllers within CCM, please refer to `k8s.io/kubernetes/cmd/cloud-controller-manager/main.go` for extra details.
|
||||||
3. Build/release CCM from your external repo. For existing cloud providers, the option to import legacy providers from `k8s.io/legacy-cloud-provider/<provider>` is still available.
|
3. Build/release CCM from your external repo. For existing cloud providers, the option to import legacy providers from `k8s.io/legacy-cloud-provider/<provider>` is still available until 1.31.
|
||||||
|
|
||||||
## Things you should NOT do
|
## Things you should NOT do
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user