Created
June 1, 2017 04:47
-
-
Save goindwalia/2253140ae57ffbd15283be0adf643f38 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: | |
name: <name of application> | |
namespace: <namespace of Kubernetes> | |
spec: | |
replicas: <number of application pods> | |
template: | |
metadata: | |
labels: | |
k8s-app: <name of application> | |
spec: | |
containers: | |
- name: <name of application> | |
image: <image name >:<version tag> | |
imagePullPolicy: "IfNotPresent" | |
ports: | |
- containerPort: 2223 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment