wip
This commit is contained in:
parent
fe889adcfc
commit
c953e3301d
19
k8s/deployment.yaml
Normal file
19
k8s/deployment.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: misskey
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: misskey
|
||||
replicas: 1
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: misskey
|
||||
spec:
|
||||
containers:
|
||||
- name: misskey
|
||||
image: okteto.dev/misskey:latest
|
||||
ports:
|
||||
- containerPort: 8080
|
11
k8s/service.yaml
Normal file
11
k8s/service.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: misskey
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
ports:
|
||||
- name: http
|
||||
port: 8080
|
||||
selector:
|
||||
app: misskey
|
@ -2,3 +2,4 @@ deploy:
|
||||
- cp .config/example.yml .config/default.yml
|
||||
- cp .config/docker_example.env .config/docker.env
|
||||
- okteto build -t okteto.dev/misskey:${OKTETO_GIT_COMMIT}
|
||||
- kubectl apply -f k8s
|
||||
|
Loading…
x
Reference in New Issue
Block a user