更新 'CloudNative/Kubernetes/Base/运行容器通过挂载方式运行程序.md'
This commit is contained in:
parent
d782336507
commit
894c7d6d25
1 changed files with 0 additions and 139 deletions
|
@ -9,141 +9,6 @@ metadata:
|
||||||
labels:
|
labels:
|
||||||
app: echo-server-1
|
app: echo-server-1
|
||||||
app.kubernetes.io/instance: echo-server-dev
|
app.kubernetes.io/instance: echo-server-dev
|
||||||
annotations:
|
|
||||||
deployment.kubernetes.io/revision: '9'
|
|
||||||
managedFields:
|
|
||||||
- manager: cfe-apiserver
|
|
||||||
operation: Update
|
|
||||||
apiVersion: apps/v1
|
|
||||||
time: '2023-09-14T11:26:44Z'
|
|
||||||
fieldsType: FieldsV1
|
|
||||||
fieldsV1:
|
|
||||||
f:metadata:
|
|
||||||
f:labels:
|
|
||||||
.: {}
|
|
||||||
f:app: {}
|
|
||||||
f:app.kubernetes.io/instance: {}
|
|
||||||
f:spec:
|
|
||||||
f:progressDeadlineSeconds: {}
|
|
||||||
f:replicas: {}
|
|
||||||
f:revisionHistoryLimit: {}
|
|
||||||
f:selector: {}
|
|
||||||
f:strategy:
|
|
||||||
f:rollingUpdate:
|
|
||||||
.: {}
|
|
||||||
f:maxSurge: {}
|
|
||||||
f:maxUnavailable: {}
|
|
||||||
f:type: {}
|
|
||||||
f:template:
|
|
||||||
f:metadata:
|
|
||||||
f:labels:
|
|
||||||
.: {}
|
|
||||||
f:app: {}
|
|
||||||
f:spec:
|
|
||||||
f:containers:
|
|
||||||
k:{"name":"runtime"}:
|
|
||||||
.: {}
|
|
||||||
f:command: {}
|
|
||||||
f:env:
|
|
||||||
.: {}
|
|
||||||
k:{"name":"ARGS"}:
|
|
||||||
.: {}
|
|
||||||
f:name: {}
|
|
||||||
f:valueFrom:
|
|
||||||
.: {}
|
|
||||||
f:configMapKeyRef: {}
|
|
||||||
k:{"name":"JAVA_OPTS"}:
|
|
||||||
.: {}
|
|
||||||
f:name: {}
|
|
||||||
f:valueFrom:
|
|
||||||
.: {}
|
|
||||||
f:configMapKeyRef: {}
|
|
||||||
f:image: {}
|
|
||||||
f:imagePullPolicy: {}
|
|
||||||
f:name: {}
|
|
||||||
f:ports:
|
|
||||||
.: {}
|
|
||||||
k:{"containerPort":48080,"protocol":"TCP"}:
|
|
||||||
.: {}
|
|
||||||
f:containerPort: {}
|
|
||||||
f:name: {}
|
|
||||||
f:protocol: {}
|
|
||||||
f:resources: {}
|
|
||||||
f:terminationMessagePath: {}
|
|
||||||
f:terminationMessagePolicy: {}
|
|
||||||
f:volumeMounts:
|
|
||||||
.: {}
|
|
||||||
k:{"mountPath":"/opt"}:
|
|
||||||
.: {}
|
|
||||||
f:mountPath: {}
|
|
||||||
f:name: {}
|
|
||||||
f:readOnly: {}
|
|
||||||
f:dnsPolicy: {}
|
|
||||||
f:imagePullSecrets:
|
|
||||||
.: {}
|
|
||||||
k:{"name":"swrregistrykey"}: {}
|
|
||||||
f:initContainers:
|
|
||||||
.: {}
|
|
||||||
k:{"name":"busybox"}:
|
|
||||||
.: {}
|
|
||||||
f:command: {}
|
|
||||||
f:image: {}
|
|
||||||
f:imagePullPolicy: {}
|
|
||||||
f:name: {}
|
|
||||||
f:resources: {}
|
|
||||||
f:terminationMessagePath: {}
|
|
||||||
f:terminationMessagePolicy: {}
|
|
||||||
f:volumeMounts:
|
|
||||||
.: {}
|
|
||||||
k:{"mountPath":"/tmp"}:
|
|
||||||
.: {}
|
|
||||||
f:mountPath: {}
|
|
||||||
f:name: {}
|
|
||||||
f:restartPolicy: {}
|
|
||||||
f:schedulerName: {}
|
|
||||||
f:securityContext: {}
|
|
||||||
f:terminationGracePeriodSeconds: {}
|
|
||||||
f:volumes:
|
|
||||||
.: {}
|
|
||||||
k:{"name":"work"}:
|
|
||||||
.: {}
|
|
||||||
f:emptyDir: {}
|
|
||||||
f:name: {}
|
|
||||||
- manager: kube-controller-manager
|
|
||||||
operation: Update
|
|
||||||
apiVersion: apps/v1
|
|
||||||
time: '2023-09-14T11:26:47Z'
|
|
||||||
fieldsType: FieldsV1
|
|
||||||
fieldsV1:
|
|
||||||
f:metadata:
|
|
||||||
f:annotations:
|
|
||||||
.: {}
|
|
||||||
f:deployment.kubernetes.io/revision: {}
|
|
||||||
f:status:
|
|
||||||
f:availableReplicas: {}
|
|
||||||
f:conditions:
|
|
||||||
.: {}
|
|
||||||
k:{"type":"Available"}:
|
|
||||||
.: {}
|
|
||||||
f:lastTransitionTime: {}
|
|
||||||
f:lastUpdateTime: {}
|
|
||||||
f:message: {}
|
|
||||||
f:reason: {}
|
|
||||||
f:status: {}
|
|
||||||
f:type: {}
|
|
||||||
k:{"type":"Progressing"}:
|
|
||||||
.: {}
|
|
||||||
f:lastTransitionTime: {}
|
|
||||||
f:lastUpdateTime: {}
|
|
||||||
f:message: {}
|
|
||||||
f:reason: {}
|
|
||||||
f:status: {}
|
|
||||||
f:type: {}
|
|
||||||
f:observedGeneration: {}
|
|
||||||
f:readyReplicas: {}
|
|
||||||
f:replicas: {}
|
|
||||||
f:updatedReplicas: {}
|
|
||||||
subresource: status
|
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
|
@ -169,8 +34,6 @@ spec:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: work
|
- name: work
|
||||||
mountPath: /tmp
|
mountPath: /tmp
|
||||||
terminationMessagePath: /dev/termination-log
|
|
||||||
terminationMessagePolicy: File
|
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
containers:
|
containers:
|
||||||
- name: runtime
|
- name: runtime
|
||||||
|
@ -200,8 +63,6 @@ spec:
|
||||||
- name: work
|
- name: work
|
||||||
readOnly: true
|
readOnly: true
|
||||||
mountPath: /opt
|
mountPath: /opt
|
||||||
terminationMessagePath: /dev/termination-log
|
|
||||||
terminationMessagePolicy: File
|
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
terminationGracePeriodSeconds: 30
|
terminationGracePeriodSeconds: 30
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue