mirror of
https://gitlab.com/MisterBiggs/anson-k8s.git
synced 2025-07-27 08:31:31 +00:00
This commit is contained in:
25
ghost/deployment.yaml
Normal file
25
ghost/deployment.yaml
Normal 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
|
Reference in New Issue
Block a user