Add glide.yaml and vendor deps

This commit is contained in:
Dalton Hubble 2016-12-03 22:43:32 -08:00
parent db918f12ad
commit 5b3d5e81bd
18880 changed files with 5166045 additions and 1 deletions

View file

@ -0,0 +1,49 @@
kind: ReplicationController
apiVersion: v1
metadata:
name: service-loadbalancer
labels:
app: service-loadbalancer
version: v1
spec:
replicas: 1
selector:
app: service-loadbalancer
version: v1
template:
metadata:
labels:
app: service-loadbalancer
version: v1
spec:
containers:
- image: gcr.io/google_containers/servicelb:0.1
imagePullPolicy: Always
livenessProbe:
httpGet:
path: /healthz
port: 8081
scheme: HTTP
initialDelaySeconds: 30
timeoutSeconds: 5
name: haproxy
ports:
# All http services
- containerPort: 80
hostPort: 80
protocol: TCP
# nginx https
- containerPort: 443
hostPort: 8080
protocol: TCP
# mysql
- containerPort: 3306
hostPort: 3306
protocol: TCP
# haproxy stats
- containerPort: 1936
hostPort: 1936
protocol: TCP
resources: {}
args:
- --tcp-services=mysql:3306,nginxsvc:443

View file

@ -0,0 +1,20 @@
apiVersion: v1
kind: ReplicationController
metadata:
name: netexec
spec:
# Assumes you have 3 nodes in your cluster.
replicas: 3
template:
metadata:
labels:
app: netexec
spec:
containers:
- name: netexec
image: gcr.io/google_containers/netexec:1.4
ports:
- containerPort: 8080
# This is to force these pods to land on different hosts.
# TODO: use the downward api and get podname instead.
hostPort: 81

View file

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

View file

@ -0,0 +1,16 @@
apiVersion: v1
kind: ReplicationController
metadata:
name: my-nginx
spec:
replicas: 1
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginxhttps
image: bprashanth/nginxhttps:1.0
ports:
- containerPort: 80

View file

@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: nginxsvc
labels:
app: nginx
spec:
ports:
- port: 80
protocol: TCP
name: http
selector:
app: nginx