マルチノードにspinnakerを展開しようとしています。私は2つのVMを持っています:最初のハリアードとkubectlは、2番目のkubernetesマスターAPIが含まれています。 私kubectlはspinnaker/halyard:Kubernetesクラスタと通信できません
"の名前空間を取得しkubectl"、うまく構成された、リモートkubernetesのAPIと通信することが可能である
kubectl get namespaces
NAME STATUS AGE
default Active 16d
kube-public Active 16d
kube-system Active 16d
に動作しますが、私は、エラーから、この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.
halconfigで明示的にクラスタを設定しようとしましたか? –