microscopic-river-74022
09/15/2023, 2:42 PMmicroscopic-river-74022
09/15/2023, 2:42 PMserver
field under the first cluster (clusters[0].cluster
).
The server
field is crucial as it specifies the address of the Kubernetes API server. Without it, Garden cannot connect to the Kubernetes cluster.
Here's an example of what a kubeconfig file might look like:
yaml
apiVersion: v1
clusters:
- cluster:
certificate-authority-data: DATA+OMITTED
server: <https://1.2.3.4>
name: my-cluster
contexts:
- context:
cluster: my-cluster
user: my-user
name: my-context
current-context: my-context
kind: Config
preferences: {}
users:
- name: my-user
user:
client-certificate-data: REDACTED
client-key-data: REDACTED
In this example, the server
field is set to <https://1.2.3.4
.> If this field is missing in your kubeconfig, you need to add it with the correct API server address.
If you're still having trouble, you might want to check the Garden documentation () or consider opening an issue on the Garden GitHub page ().
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------