Skip to content

Instantly share code, notes, and snippets.

@xring
Last active May 30, 2019 03:25
Show Gist options
  • Save xring/a86ebffb334697fb2775e00ad16817f2 to your computer and use it in GitHub Desktop.
Save xring/a86ebffb334697fb2775e00ad16817f2 to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: ReplicaSet
metadata:
name: inf-auth-gateway-rest
labels:
app: inf-auth-gateway-rest
spec:
replicas: 1
selector:
matchLabels:
app: inf-auth-gateway-rest
template:
metadata:
labels:
app: inf-auth-gateway-rest
spec:
imagePullSecrets:
- name: hub-xring
containers:
- name: inf-auth-gateway-rest
image: hub.xring.info/inf/inf.auth.gateway.rest:latest
imagePullPolicy: Always
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: inf-auth-gateway-rest
spec:
ports:
- port: 80
targetPort: 80
selector:
app: inf-auth-gateway-rest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment