Created
June 17, 2020 22:07
-
-
Save allenmichael/a07cdca78d5cb3a129188ec568d263d7 to your computer and use it in GitHub Desktop.
Tarot K8s
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: esoteric-api | |
labels: | |
app: esoteric-api | |
namespace: default | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: esoteric-api | |
strategy: | |
rollingUpdate: | |
maxSurge: 25% | |
maxUnavailable: 25% | |
type: RollingUpdate | |
template: | |
metadata: | |
labels: | |
app: esoteric-api | |
spec: | |
containers: | |
- image: amsxbg/tableofnothing | |
imagePullPolicy: Always | |
name: esoteric-api | |
ports: | |
- containerPort: 80 | |
protocol: TCP |
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: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: esoteric-api | |
spec: | |
backend: | |
serviceName: esoteric-api | |
servicePort: 80 |
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: v1 | |
kind: Service | |
metadata: | |
name: esoteric-api | |
spec: | |
selector: | |
app: esoteric-api | |
type: LoadBalancer | |
ports: | |
- protocol: TCP | |
port: 80 | |
targetPort: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment