Last active
July 18, 2019 19:14
-
-
Save rahulsahay19/7d00c2507a9081514e41bee140ae1762 to your computer and use it in GitHub Desktop.
web-deployment.yml
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/v1 | |
kind: Deployment | |
metadata: | |
name: aksweb | |
namespace: aks-learning | |
labels: | |
run: webfront | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
run: webfront-deployment | |
template: | |
metadata: | |
labels: | |
run: webfront-deployment | |
spec: | |
containers: | |
- name: aksweb | |
image: rahulsahay19/aksweb | |
env: | |
- name: ASPNETCORE_ENVIRONMENT | |
value: "Development" | |
- name: ASPNETCORE_URLS | |
value: http://0.0.0.0:8080 | |
- name: AKSApiUrl | |
value: "http://AKSApi:8081/api/eventsapi/" | |
ports: | |
- containerPort: 8080 | |
protocol: TCP | |
imagePullPolicy: IfNotPresent | |
restartPolicy: Always | |
terminationGracePeriodSeconds: 30 | |
dnsPolicy: ClusterFirst |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment