1
0
mirror of https://gitlab.com/MisterBiggs/anson-k8s.git synced 2025-07-27 08:31:31 +00:00
This commit is contained in:
2019-11-23 21:51:41 +00:00
parent bb2bddae99
commit c8983cb684
3 changed files with 48 additions and 0 deletions

25
ghost/deployment.yaml Normal file
View File

@@ -0,0 +1,25 @@
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: blog
labels:
app: blog
spec:
replicas: 1
selector:
matchLabels:
app: blog
template:
metadata:
labels:
app: blog
spec:
containers:
- name: blog
image: ghost:latest
imagePullPolicy: Always
ports:
- containerPort: 2368
env:
- name: url
value: http://my-blog.com