This message was deleted.
# harvester
a
This message was deleted.
f
I guess what I'm asking is I want to get /etc/rancher/rke2/rke2.yaml in this format so I can use it with terraform without using the UI
Copy code
apiVersion: v1
kind: Config
clusters:
- name: "local"
  cluster:
    server: "<https://10.50.0.200/k8s/clusters/local>"
    insecure-skip-tls-verify: true

users:
- name: "local"
  user:
    token: "kubeconfig-user-66rmt7698b:8rfj9cgp2jbz6fbkm9xmsmgtk7hxk"


contexts:
- name: "local"
  context:
    user: "local"
    cluster: "local"

current-context: "local"
s
Hi @future-accountant-19088, I thought the
/etc/rancher/rke2/rke2.yaml
is what you want. You need to replace the
server
with your VIP address. I could use it for terrform.