Update missing kubever on weave network (#8560)
``` $ export kubever=$(kubectl version | base64 | tr -d ' > ') $ kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version=" error: unable to read URL "https://cloud.weave.works/k8s/net?k8s-version=", server reported 400 Bad Request, status code=400 ``` ``` $ kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version=$kubever" serviceaccount "weave-net" created clusterrole.rbac.authorization.k8s.io "weave-net" created clusterrolebinding.rbac.authorization.k8s.io "weave-net" created role.rbac.authorization.k8s.io "weave-net" created rolebinding.rbac.authorization.k8s.io "weave-net" created daemonset.extensions "weave-net" created ```pull/8563/head
parent
53d2e174d7
commit
6b1ac1285b
|
@ -327,7 +327,7 @@ if they don't know their PodIP.
|
|||
```shell
|
||||
export kubever=$(kubectl version | base64 | tr -d '
|
||||
')
|
||||
kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version="
|
||||
kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version=$kubever"
|
||||
```
|
||||
{{% /tab %}}
|
||||
{{< /tabs >}}
|
||||
|
|
Loading…
Reference in New Issue