Skip to content

Instantly share code, notes, and snippets.

@kadel
Last active July 27, 2020 09:09
Show Gist options
  • Save kadel/2bc178ca03efc6b3dd3efc60c1c15e0f to your computer and use it in GitHub Desktop.
Save kadel/2bc178ca03efc6b3dd3efc60c1c15e0f to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
component: {{.COMPONENT_NAME}}
stage: deploy
name: {{.COMPONENT_NAME}}
namespace: tkral-test
spec:
matchLabels:
component: {{.COMPONENT_NAME}}
stage: deploy
template:
metadata:
labels:
component: {{.COMPONENT_NAME}}
stage: deploy
name: backend
namespace: tkral-test
spec:
containers:
- image: {{.CONTAINER_IMAGE}}
imagePullPolicy: Always
name: backend
ports:
- containerPort: 8080
name: 8080-tcp
protocol: TCP
resources:
limits:
memory: 512Mi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment