Ich versuche, Spinnaker auf Multi-Knoten bereitzustellen. Ich habe 2 VMs: die erste mit Fall und kubectl die zweite enthält die Kubernetes Master API. meine kubectl ist gut konfiguriert und in der Lage mit dem Remote-Kubernetes api zu kommunizieren,Spinnaker/Fall: Kann nicht mit dem Kubernetes-Cluster kommunizieren
die "kubectl Namespaces zu bekommen" arbeitet
kubectl get namespaces
NAME STATUS AGE
default Active 16d
kube-public Active 16d
kube-system Active 16d
aber wenn ich laufen diese cmd
hal config provider -d kubernetes account add spin-kubernetes --docker-registries myregistry
I get this error
Add the spin-kubernetes account
Failure
Problems in default.provider.kubernetes.spin-kubernetes:
- WARNING You have not specified a Kubernetes context in your
halconfig, Spinnaker will use "default-system" instead.
? We recommend explicitly setting a context in your halconfig, to
ensure changes to your kubeconfig won't break your deployment.
? Options include:
- default-system
! ERROR Unable to communicate with your Kubernetes cluster:
Operation: [list] for kind: [Namespace] with name: [null] in namespace:
[null] failed..
? Unable to authenticate with your Kubernetes cluster. Try using
kubectl to verify your credentials.
- Failed to add account spin-kubernetes for provider
kubernetes.
Haben Sie versucht, den Cluster in Ihrem halconfig explizit zu setzen? –