Commit 12a16359 by wangtingwei

增加缓存

1 parent 24cb7f50
......@@ -40,6 +40,9 @@ spec:
- mountPath: /etc/kpl/ssl
name: kpl-ssl
readOnly: true
- mountPath: /data
name: host-cache-path
readOnly: false
command: ["core--collector"]
ports:
- containerPort: 8080
......@@ -78,6 +81,9 @@ spec:
- name: hostname
hostPath:
path: /etc/hostname
- name: host-cache-path
hostPath:
path: /data
- name: config
configMap:
name: cfg-autodl-core
......
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: core--monitor
namespace: autodl
spec:
replicas: 1
template:
metadata:
labels:
app: core--monitor
logCollect: "true"
spec:
imagePullSecrets:
- name: "harbor-secret"
serviceAccountName: autodl-serviceaccount
nodeSelector:
internal_service_node: "true"
containers:
- name: core--monitor
image: DOCKER_REGISTRY/adl-core-v1:latest
imagePullPolicy: Always
......@@ -39,6 +39,9 @@ spec:
name: kpl-ssl
readOnly: true
command: ["core--worker"]
env: # 临时修复go1.15无法支持旧版本证书的问题, https://github.com/golang/go/issues/39568
- name: GODEBUG
value: x509ignoreCN=0
ports:
- containerPort: 8080
name: cwport-8080
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!