Created
October 22, 2017 22:25
-
-
Save aramkoukia/c454e733cd9c95a4fe7442e349e82f8a to your computer and use it in GitHub Desktop.
Kubernetes Manifest File
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: apps/v1beta1 | |
kind: Deployment | |
metadata: | |
name: azure-container-service-poc | |
spec: | |
replicas: 1 | |
strategy: | |
rollingUpdate: | |
maxSurge: 1 | |
maxUnavailable: 1 | |
minReadySeconds: 5 | |
template: | |
metadata: | |
labels: | |
app: azure-container-service-poc | |
spec: | |
containers: | |
- name: azurecontainerservicepoc | |
image: azurecontainerservicepoc:dev | |
ports: | |
- containerPort: 80 | |
resources: | |
requests: | |
cpu: 250m | |
limits: | |
cpu: 500m | |
env: | |
- name: dev | |
value: "azure-container-service-poc" | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: azure-container-service-poc | |
spec: | |
type: LoadBalancer | |
ports: | |
- port: 80 | |
selector: | |
app: azure-container-service-poc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment