Created
September 15, 2018 16:39
-
-
Save raj-rajaratnam/3597c7e6fc1809bf019dd7bacbe57ad0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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: | |
app: "utility" | |
name: "utility-deployment" | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: "utility" | |
spec: | |
containers: | |
- args: [] | |
image: "utility:v3" | |
imagePullPolicy: "IfNotPresent" | |
livenessProbe: | |
initialDelaySeconds: 10 | |
periodSeconds: 5 | |
tcpSocket: | |
port: 8280 | |
name: "utility-deployment" | |
ports: | |
- containerPort: 8280 | |
protocol: "TCP" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment