Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Install ulang rancher error

ubuntu@rpi01:~$ helm install rancher rancher-stable/rancher \
> –namespace cattle-system \
> –set hostname=rancher.wirnet.local \
> –set replicas=3
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /etc/rancher/k3s/k3s.yaml
WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /etc/rancher/k3s/k3s.yaml
Error: INSTALLATION FAILED: rendered manifests contain a resource that already exists. Unable to continue with install: Secret “bootstrap-secret” in namespace “cattle-system” exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key “app.kubernetes.io/managed-by”: must be set to “Helm”; annotation validation error: missing key “meta.helm.sh/release-name”: must be set to “rancher”; annotation validation error: missing key “meta.helm.sh/release-namespace”: must be set to “cattle-system”

Solusi:
delete the bootstrap-secret kubectl delete secret bootstrap-secret -n cattle-system



This post first appeared on Nikko296 In Here, please read the originial post: here

Share the post

Install ulang rancher error

×

Subscribe to Nikko296 In Here

Get updates delivered right to your inbox!

Thank you for your subscription

×