remove deploy remote-buildkitd
This commit is contained in:
@@ -136,47 +136,6 @@ spec:
|
||||
defaultMode: 0555
|
||||
|
||||
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: remote-buildkitd
|
||||
namespace: gitea
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: remote-buildkitd
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: remote-buildkitd
|
||||
spec:
|
||||
nodeName: kube-master
|
||||
containers:
|
||||
- name: remote-buildkitd
|
||||
image: moby/buildkit:latest
|
||||
securityContext:
|
||||
privileged: true
|
||||
runAsUser: 0
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- containerPort: 1234
|
||||
name: buildkitd-port
|
||||
volumeMounts:
|
||||
- name: remote-buildkitd-data
|
||||
mountPath: /etc/buildkit/certs
|
||||
resources:
|
||||
limits:
|
||||
# cpu: 500m
|
||||
memory: 1000Mi
|
||||
volumes:
|
||||
- name: gitea-var-docker-sock
|
||||
hostPath:
|
||||
path: /var/run/docker.sock
|
||||
- name: remote-buildkitd-data
|
||||
persistentVolumeClaim:
|
||||
claimName: remote-buildkitd-data
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
||||
Reference in New Issue
Block a user