[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:
Nikolay Mahotkin 2016-07-04 15:25:51 +03:00
parent f0513c429a
commit 2d4eb1d122
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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