Skip to content

Instantly share code, notes, and snippets.

@reasn
Last active August 29, 2015 14:20
Show Gist options
  • Save reasn/bfbf9425606873b58021 to your computer and use it in GitHub Desktop.
Save reasn/bfbf9425606873b58021 to your computer and use it in GitHub Desktop.
Test setup for kubernetes-vagrant-coreos-cluster
apiVersion: v1beta1
id: rc-ubuntu
kind: ReplicationController
labels:
name: ubuntu
desiredState:
replicas: 1
replicaSelector:
name: ubuntupod
podTemplate:
labels:
name: ubuntupod
desiredState:
manifest:
version: v1beta1
id: ubuntutestpod
containers:
- name: ubuntu-container
image: furny/node-dev-noop
ports:
- containerPort: 22
apiVersion: v1beta1
id: rc-nginx
kind: ReplicationController
labels:
name: nginx
desiredState:
replicas: 1
replicaSelector:
name: nginxpod
podTemplate:
labels:
name: nginxpod
desiredState:
manifest:
version: v1beta1
id: nginxtestpod
containers:
- name: nginxcontainer
image: nginx
ports:
- containerPort: 80
apiVersion: v1beta1
kind: Service
id: svc-nginx
port: 80
containerPort: 80
labels:
name: nginx
selector:
name: nginxpod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment