[K8s] Updating DIB elements and fix k8s application
* DIB element is updated to the latest k8s version - 1.3.0 * K8s application is fixed according to the new k8s version: - replaced short '-t' flag on the long one - '--template' Change-Id: I37d73a907c55c0e3aca6a2e786b05a9e99a215ac
This commit is contained in:
parent
f0513c429a
commit
2d4eb1d122
@ -4,7 +4,7 @@ install-packages curl wget linux-libc-dev git gcc libc6-dev bridge-utils haproxy
|
||||
SVC_ROOT=/opt/bin
|
||||
|
||||
ETCD_LATEST_VERSION="v2.2.5"
|
||||
KUBE_LATEST_VERSION="v1.2.4"
|
||||
KUBE_LATEST_VERSION="v1.3.0"
|
||||
FLANNEL_LATEST_VERSION="v0.5.5"
|
||||
|
||||
ETCD_LATEST_URL="https://github.com/coreos/etcd/releases/download/${ETCD_LATEST_VERSION}/etcd-${ETCD_LATEST_VERSION}-linux-amd64.tar.gz"
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
/opt/bin/kubectl get service $1 -t '{{.spec.clusterIP}}' -o template
|
||||
/opt/bin/kubectl get service $1 --template '{{.spec.clusterIP}}' -o template
|
||||
|
Loading…
x
Reference in New Issue
Block a user