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 ```
This commit is contained in:
@@ -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 >}}
|
||||
|
||||
Reference in New Issue
Block a user