Skip to content

Instantly share code, notes, and snippets.

@harsha-y
Created February 5, 2019 05:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harsha-y/a3428f633c3bd696dcb1702d68d4a7cb to your computer and use it in GitHub Desktop.
Save harsha-y/a3428f633c3bd696dcb1702d68d4a7cb to your computer and use it in GitHub Desktop.
k8s-at-earnest-snip-1
apiVersion: v1
kind: ReplicationController
metadata:
name: fake-service-rc
spec:
replicas: 2
template:
metadata:
labels:
name: fake-service
spec:
containers:
- name: fake-service
image: earnest/fake-service:1.0.0.1-gitsha1
env:
- name: APP_ENV
value: development
ports:
- containerPort: 3000
imagePullSecrets:
- name: dockerregistrykey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment