Last active
July 27, 2020 09:09
-
-
Save kadel/2bc178ca03efc6b3dd3efc60c1c15e0f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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