File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ Create kubeconfig at master node as following commands:
126
126
mkdir -p /etc/cni/net.d/multus.d
127
127
SERVICEACCOUNT_CA=$(kubectl get secrets -n=kube-system -o json | jq -r '.items[]|select(.metadata.annotations."kubernetes.io/service-account.name"=="multus")| .data."ca.crt"')
128
128
SERVICEACCOUNT_TOKEN=$(kubectl get secrets -n=kube-system -o json | jq -r '.items[]|select(.metadata.annotations."kubernetes.io/service-account.name"=="multus")| .data.token' | base64 -d )
129
- KUBERNETES_SERVICE_PROTO =$(kubectl get all -o json | jq -r .items[0].spec.ports[0].name)
129
+ KUBERNETES_SERVICE_PROTOCOL =$(kubectl get all -o json | jq -r .items[0].spec.ports[0].name)
130
130
KUBERNETES_SERVICE_HOST=$(kubectl get all -o json | jq -r .items[0].spec.clusterIP)
131
131
KUBERNETES_SERVICE_PORT=$(kubectl get all -o json | jq -r .items[0].spec.ports[0].port)
132
132
cat > /etc/cni/net.d/multus.d/multus.kubeconfig <<EOF
You can’t perform that action at this time.
0 commit comments