vendor updates

This commit is contained in:
Serguei Bezverkhi
2018-03-06 17:33:18 -05:00
parent 4b3ebc171b
commit e9033989a0
5854 changed files with 248382 additions and 119809 deletions

View File

@ -14,6 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# This driver implements a tmpfs with a pre-populated file index.html.
FLEX_DUMMY_LOG=${FLEX_DUMMY_LOG:-"/tmp/flex-dummy.log"}
log() {

View File

@ -14,6 +14,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# This driver implements a tmpfs with a pre-populated file index.html.
# Attach is required, but it is a no-op that always returns success.
FLEX_DUMMY_LOG=${FLEX_DUMMY_LOG:-"/tmp/flex-dummy.log"}
VALID_MNTDEVICE=foo

View File

@ -11,7 +11,7 @@ spec:
spec:
containers:
- name: echoheaders
image: gcr.io/google_containers/echoserver:1.6
image: k8s.gcr.io/echoserver:1.6
ports:
- containerPort: 8080
readinessProbe:

View File

@ -5,6 +5,7 @@ metadata:
run: hostname
name: hostname
spec:
minReadySeconds: 60
template:
metadata:
labels:

View File

@ -17,7 +17,7 @@ spec:
spec:
terminationGracePeriodSeconds: 0
containers:
- image: gcr.io/google_containers/nginx-ingress-controller:0.9.0-beta.1
- image: k8s.gcr.io/nginx-ingress-controller:0.9.0-beta.1
livenessProbe:
httpGet:
path: /healthz

View File

@ -0,0 +1,16 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: pre-shared-cert
# Below annotation will be added upon test:
# annotations:
# ingress.gcp.kubernetes.io/pre-shared-cert: "test-pre-shared-cert"
spec:
rules:
- host: test.ingress.com
http:
paths:
- path: /test
backend:
serviceName: echoheaders-https
servicePort: 80

View File

@ -0,0 +1,16 @@
apiVersion: v1
kind: ReplicationController
metadata:
name: echoheaders-https
spec:
replicas: 2
template:
metadata:
labels:
app: echoheaders-https
spec:
containers:
- name: echoheaders-https
image: gcr.io/google_containers/echoserver:1.6
ports:
- containerPort: 8080

View File

@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
name: echoheaders-https
labels:
app: echoheaders-https
spec:
type: NodePort
ports:
- port: 80
targetPort: 8080
protocol: TCP
name: http
selector:
app: echoheaders-https

View File

@ -0,0 +1,16 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: static-ip
# This annotation is added by the test upon allocating a staticip.
# annotations:
# kubernetes.io/ingress.global-static-ip-name: "staticip"
spec:
rules:
- host: ingress.test.com
http:
paths:
- path: /foo
backend:
serviceName: echoheaders-https
servicePort: 80

View File

@ -0,0 +1,16 @@
apiVersion: v1
kind: ReplicationController
metadata:
name: echoheaders-https
spec:
replicas: 2
template:
metadata:
labels:
app: echoheaders-https
spec:
containers:
- name: echoheaders-https
image: k8s.gcr.io/echoserver:1.6
ports:
- containerPort: 8080

View File

@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
name: echoheaders-https
labels:
app: echoheaders-https
spec:
type: NodePort
ports:
- port: 80
targetPort: 8080
protocol: TCP
name: http
selector:
app: echoheaders-https

View File

@ -13,4 +13,3 @@ spec:
backend:
serviceName: echoheaders-https
servicePort: 80

View File

@ -11,6 +11,6 @@ spec:
spec:
containers:
- name: echoheaders-https
image: gcr.io/google_containers/echoserver:1.6
image: k8s.gcr.io/echoserver:1.6
ports:
- containerPort: 8080

View File

@ -17,7 +17,7 @@ spec:
version: v1
spec:
containers:
- image: gcr.io/google_containers/servicelb:0.1
- image: k8s.gcr.io/servicelb:0.1
imagePullPolicy: Always
livenessProbe:
httpGet:

View File

@ -12,7 +12,7 @@ spec:
spec:
containers:
- name: netexec
image: gcr.io/google_containers/netexec:1.4
image: k8s.gcr.io/netexec:1.4
ports:
- containerPort: 8080
# This is to force these pods to land on different hosts.

View File

@ -0,0 +1,58 @@
apiVersion: v1
kind: ReplicationController
metadata:
name: cassandra
# The labels will be applied automatically
# from the labels in the pod template, if not set
# labels:
# app: cassandra
spec:
replicas: 2
# The selector will be applied automatically
# from the labels in the pod template, if not set.
# selector:
# app: cassandra
template:
metadata:
labels:
app: cassandra
spec:
containers:
- command:
- /run.sh
resources:
limits:
cpu: 0.5
env:
- name: MAX_HEAP_SIZE
value: 512M
- name: HEAP_NEWSIZE
value: 100M
- name: CASSANDRA_SEED_PROVIDER
value: "io.k8s.cassandra.KubernetesSeedProvider"
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
image: gcr.io/google-samples/cassandra:v13
name: cassandra
ports:
- containerPort: 7000
name: intra-node
- containerPort: 7001
name: tls-intra-node
- containerPort: 7199
name: jmx
- containerPort: 9042
name: cql
volumeMounts:
- mountPath: /cassandra_data
name: data
volumes:
- name: data
emptyDir: {}

View File

@ -1,4 +1,4 @@
apiVersion: "apps/v1beta1"
apiVersion: "apps/v1"
kind: StatefulSet
metadata:
name: cassandra
@ -12,7 +12,7 @@ spec:
spec:
containers:
- name: cassandra
image: gcr.io/google-samples/cassandra:v12
image: gcr.io/google-samples/cassandra:v13
imagePullPolicy: Always
ports:
- containerPort: 7000
@ -34,7 +34,10 @@ spec:
lifecycle:
preStop:
exec:
command: ["/bin/sh", "-c", "PID=$(pidof java) && kill $PID && while ps -p $PID > /dev/null; do sleep 1; done"]
command:
- /bin/sh
- -c
- nodetool drain
env:
- name: MAX_HEAP_SIZE
value: 512M
@ -52,8 +55,6 @@ spec:
value: "DC1-K8Demo"
- name: CASSANDRA_RACK
value: "Rack1-K8Demo"
- name: CASSANDRA_AUTO_BOOTSTRAP
value: "false"
- name: POD_IP
valueFrom:
fieldRef:

View File

@ -11,7 +11,7 @@ spec:
spec:
containers:
- name: test-server
image: gcr.io/google-containers/cassandra-e2e-test:0.1
image: k8s.gcr.io/cassandra-e2e-test:0.1
imagePullPolicy: Always
ports:
- containerPort: 8080

View File

@ -1,4 +1,4 @@
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: cockroachdb

View File

@ -1,4 +1,4 @@
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: etcd
@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: etcd
image: gcr.io/google_containers/etcd-amd64:2.2.5
image: k8s.gcr.io/etcd-amd64:2.2.5
imagePullPolicy: Always
ports:
- containerPort: 2380

View File

@ -11,7 +11,7 @@ spec:
spec:
containers:
- name: test-server
image: gcr.io/google-containers/etcd-statefulset-e2e-test:0.0
image: k8s.gcr.io/etcd-statefulset-e2e-test:0.0
imagePullPolicy: Always
ports:
- containerPort: 8080

View File

@ -1,4 +1,4 @@
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: mysql
@ -12,7 +12,7 @@ spec:
spec:
initContainers:
- name: install
image: gcr.io/google_containers/galera-install:0.1
image: k8s.gcr.io/galera-install:0.1
imagePullPolicy: Always
args:
- "--work-dir=/work-dir"
@ -41,7 +41,7 @@ spec:
mountPath: "/etc/mysql"
containers:
- name: mysql
image: gcr.io/google_containers/mysql-galera:e2e
image: k8s.gcr.io/mysql-galera:e2e
ports:
- containerPort: 3306
name: mysql
@ -55,7 +55,7 @@ spec:
- --defaults-file=/etc/mysql/my-galera.cnf
- --user=root
readinessProbe:
# TODO: If docker exec is buggy just use gcr.io/google_containers/mysql-healthz:1.0
# TODO: If docker exec is buggy just use k8s.gcr.io/mysql-healthz:1.0
exec:
command:
- sh

View File

@ -1,4 +1,4 @@
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: mysql

View File

@ -11,7 +11,7 @@ spec:
spec:
containers:
- name: test-server
image: gcr.io/google-containers/mysql-e2e-test:0.1
image: k8s.gcr.io/mysql-e2e-test:0.1
imagePullPolicy: Always
ports:
- containerPort: 8080

View File

@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: nginx
image: gcr.io/google_containers/nginx-slim:0.8
image: k8s.gcr.io/nginx-slim:0.8
ports:
- containerPort: 80
name: web
@ -31,4 +31,4 @@ spec:
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: 1Gi
storage: 1Gi

View File

@ -1,4 +1,4 @@
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: rd
@ -12,7 +12,7 @@ spec:
spec:
initContainers:
- name: install
image: gcr.io/google_containers/redis-install-3.2.0:e2e
image: k8s.gcr.io/redis-install-3.2.0:e2e
imagePullPolicy: Always
args:
- "--install-into=/opt"

View File

@ -1,4 +1,4 @@
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: zoo
@ -12,7 +12,7 @@ spec:
spec:
initContainers:
- name: install
image: gcr.io/google_containers/zookeeper-install-3.5.0-alpha:e2e
image: k8s.gcr.io/zookeeper-install-3.5.0-alpha:e2e
imagePullPolicy: Always
args:
- "--install-into=/opt"