Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
0
Description
Platform: GKE
When running cao v2.6 build 158
➜ couchbase-autonomous-operator_2.6.0-158-kubernetes-macos-arm64 ./bin/cao create operator |
|
Error: The gcp auth plugin has been removed.
|
Please use the "gke-gcloud-auth-plugin" kubectl/client-go credential plugin instead. |
See https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke for further details |
Usage:
|
cao create operator [flags]
|
|
|
Examples:
|
# Create operator (recommended).
|
cao create operator
|
|
# Create operator scoped to the cluster.
|
cao create operator --scope cluster
|
|
# Create operator with a custom image and secure image registry.
|
cao create operator --image acme.corp/operator:1.0.0 --image-pull-secret secret-name |
|
# Create operator with debug logging.
|
cao create operator --log-level debug
|
|
# Create operator with extended timeouts (for slow platforms). |
cao create operator --pod-creation-timeout 1h
|
|
|
Flags:
|
--cpu-limit quantity CPU limit for constraining (default 1) |
--cpu-request quantity CPU requested for scheduling (default 500m) |
-h, --help help for operator |
--image string Operator image to use. (default "couchbase/operator:2.6.0") |
--image-pull-policy string Image pull policy to affect when the image is downloaded. (default "IfNotPresent") |
--image-pull-secret string Image pull secret to allow access to the operator image.
|
--log-level string Log level to generate logs at. "info", or "0", prints basic operations. "debug", or "1" prints extended information and API calls. "2" prints very detailed logs, including full API payloads that may contain passwords and keys. (default "info") |
--memory-limit quantity Memory limit for constraining (default 400Mi) |
--memory-request quantity Memory requested for scheduling (default 200Mi) |
--pod-creation-timeout string How long to wait before declaring an error when provisioning a pod. (default "10m0s") |
--pod-delete-delay string How long to wait before performing a delete on a failed pod. (default "0s") |
--pod-readiness-delay string How long to wait before starting readiness probes on server pods. (default "10s") |
--pod-readiness-period string How long to wait between readiness probes on server pods. (default "20s") |
--scope string Whether to scope the Operator to a 'namespace' or to the 'cluster'. (default "namespace") |
--with-resources Populates pod resource requests and limits
|
|
|
Global Flags:
|
--as string Username to impersonate for the operation. User could be a regular user or a service account in a namespace. |
--as-group stringArray Group to impersonate for the operation, this flag can be repeated to specify multiple groups. |
--as-uid string UID to impersonate for the operation. |
--cache-dir string Default cache directory (default "/Users/abhibose/.kube/cache") |
--certificate-authority string Path to a cert file for the certificate authority |
--client-certificate string Path to a client certificate file for TLS |
--client-key string Path to a client key file for TLS |
--cluster string The name of the kubeconfig cluster to use
|
--context string The name of the kubeconfig context to use
|
--disable-compression If true, opt-out of response compression for all requests to the server |
--insecure-skip-tls-verify If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure |
--kubeconfig string Path to the kubeconfig file to use for CLI requests. |
-n, --namespace string If present, the namespace scope for this CLI request |
--request-timeout string The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests. (default "0") |
-s, --server string The address and port of the Kubernetes API server
|
--tls-server-name string Server name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used |
--token string Bearer token for authentication to the API server |
--user string The name of the kubeconfig user to use
|
|
|
But, when running cao v2.6 build 100
➜ couchbase-autonomous-operator_2.6.0-100-kubernetes-macos-arm64 ./bin/cao create operator |
W1204 11:09:57.806712 98738 gcp.go:119] WARNING: the gcp auth plugin is deprecated in v1.22+, unavailable in v1.26+; use gcloud instead. |
To learn more, consult https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke |
Warning: platform version v1.27.3-gke.100 is unsupported (too new), check https://docs.couchbase.com/operator/current/prerequisite-and-setup.html current support and versioning information |
serviceaccounts/couchbase-operator created
|
roles/couchbase-operator created
|
rolebindings/couchbase-operator created
|
deployments/couchbase-operator created
|
services/couchbase-operator created
|