this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: prepare to deploy the Rust rewrite

+36 -2
+22
apps/blog/deployment-rust.yaml
··· 1 + apiVersion: apps/v1 2 + kind: Deployment 3 + metadata: 4 + labels: 5 + app: blog 6 + name: blog 7 + namespace: blog 8 + spec: 9 + selector: 10 + matchLabels: 11 + app: blog 12 + template: 13 + metadata: 14 + labels: 15 + app: blog 16 + spec: 17 + containers: 18 + - name: blog 19 + image: khuedoan/blog:latest 20 + ports: 21 + - name: http 22 + containerPort: 3000
+4 -1
apps/blog/deployment.yaml
··· 17 17 containers: 18 18 - name: nginx 19 19 image: nginx:latest 20 + ports: 21 + - name: http 22 + containerPort: 80 20 23 volumeMounts: 21 24 - mountPath: /usr/share/nginx/html 22 25 name: static ··· 29 32 args: 30 33 - | 31 34 apk add git hugo 32 - git clone --recursive https://github.com/khuedoan/blog . 35 + git clone --branch hugo --recursive https://github.com/khuedoan/blog . 33 36 while true; do 34 37 hugo --minify --destination /usr/share/nginx/html 35 38 sleep 120
+9
apps/blog/kustomization.yaml
··· 1 + apiVersion: kustomize.config.k8s.io/v1beta1 2 + kind: Kustomization 3 + 4 + resources: 5 + # TODO clean this up, leaving it here for easy rollback 6 + - deployment.yaml 7 + # - deployment-rust.yaml 8 + - service.yaml 9 + - ingress.yaml
+1 -1
apps/blog/service.yaml
··· 13 13 - name: http 14 14 protocol: TCP 15 15 port: 80 16 - targetPort: 80 16 + targetPort: http