我想在OpenShift Express PaaS上开展日常工作.我知道如何在我的应用程序上激活cron盒式磁带以及如何将脚本添加到正确的cron文件夹中.
但是我特别需要指定工作执行的那一天.例如"每天晚上10:30"
这可能与OpenShift cron墨盒有关吗?如何配置特定时间的日常工作?
此致,拉尔斯
我想在 Google 容器引擎中运行 nexus3。
我创建了一个永久磁盘并配置了以下部署文件:
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: nexus3
labels:
app: nexus3
spec:
replicas: 1
selector:
matchLabels:
app: nexus3
template:
metadata:
labels:
app: nexus3
tier: web
spec:
containers:
- image: gcr.io/nexustest-182520/nexus3:3.6.0
name: nexus3
volumeMounts:
- mountPath: /nexus-data
name: nexus3-persistent-storage
ports:
- containerPort: 8081
volumes:
- name: nexus3-persistent-storage
gcePersistentDisk:
pdName: nexus3-disk
fsType: ext4
Run Code Online (Sandbox Code Playgroud)
部署失败并出现以下问题:
kubectl get pods -o=wide
NAME READY STATUS RESTARTS AGE IP NODE
nexus3-1260341461-mj7rf 0/1 Error 2 36s x.x.x.x gke-nexus-cluster-default-pool-9a58e4f2-p1t9
kubectl describe po/nexus3-1260341461-mj7rf
[...]
Events:
FirstSeen …
Run Code Online (Sandbox Code Playgroud)