Skip to content

Instantly share code, notes, and snippets.

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