imfreedom/k8s-cluster

Add the libgnt/next docs

2019-04-18, Gary Kramlich
e4af1203c1e2
Parents 652471281ad0
Children d31ae43aa9bc
Add the libgnt/next docs
--- a/50-docs.pidgin.im.yaml Thu Apr 18 19:54:28 2019 -0500
+++ b/50-docs.pidgin.im.yaml Thu Apr 18 22:31:05 2019 -0500
@@ -19,6 +19,10 @@
servicePort: 3000
path: /libgnt/latest/
- backend:
+ serviceName: docs-libgnt-next
+ servicePort: 3000
+ path: /libgnt/next/
+ - backend:
serviceName: docs-talkatu-latest
servicePort: 3000
path: /talkatu/latest/
@@ -97,6 +101,52 @@
metadata:
namespace: pidgin
labels:
+ app: libgnt
+ version: next
+ name: docs-libgnt-next
+spec:
+ ports:
+ - port: 3000
+ protocol: TCP
+ selector:
+ app: libgnt
+ version: next
+---
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ namespace: pidgin
+ name: docs-libgnt-next
+ labels:
+ app: libgnt
+ version: next
+spec:
+ replicas: 2
+ selector:
+ matchLabels:
+ app: libgnt
+ version: next
+ template:
+ metadata:
+ labels:
+ app: libgnt
+ version: next
+ spec:
+ containers:
+ - name: docs-libgnt-next
+ image: libgnt/docs:next
+ imagePullPolicy: Always
+ ports:
+ - containerPort: 3000
+ env:
+ - name: GOSERVE_PREFIX
+ value: /libgnt/next
+---
+apiVersion: v1
+kind: Service
+metadata:
+ namespace: pidgin
+ labels:
app: talkatu
version: latest
name: docs-talkatu-latest