Created
November 30, 2020 10:59
-
-
Save sivsivsree/dc74d359a93ef868ade8819eb6c53f8d to your computer and use it in GitHub Desktop.
deploy
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: apps/v1 | |
kind: Deployment | |
metadata: | |
name: backoffice-ui-deployment | |
labels: | |
app: backoffice-ui-deployment | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: backoffice-ui-deployment | |
template: | |
metadata: | |
annotations: | |
linkerd.io/inject: enabled | |
labels: | |
app: backoffice-ui-deployment | |
spec: | |
containers: | |
- name: backoffice-ui | |
image: registry.digitalocean.com/grapetech/shahada-backoffice:main | |
imagePullPolicy: Always | |
ports: | |
- containerPort: 80 | |
imagePullSecrets: | |
- name: registry-grapetech | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: backoffice-ui-service | |
labels: | |
app: backoffice-ui-deployment | |
tier: dev | |
spec: | |
selector: | |
app: backoffice-ui-deployment | |
type: NodePort | |
ports: | |
- port: 80 | |
nodePort: 31010 | |
targetPort: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment