Created
August 19, 2018 08:02
-
-
Save congnt24/1b5214d3febfc8ac031ad6211f4e7762 to your computer and use it in GitHub Desktop.
Install Konga on Kubernetes cluster
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: Deployment | |
metadata: | |
name: konga | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
name: konga | |
app: konga | |
spec: | |
containers: | |
- name: konga | |
image: pantsel/konga | |
ports: | |
- containerPort: 1337 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: konga-svc | |
spec: | |
type: NodePort | |
ports: | |
- name: kong-proxy | |
port: 1337 | |
targetPort: 1337 | |
nodePort: 30337 | |
protocol: TCP | |
selector: | |
app: konga |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment