Difference between revisions of "Mypod.yml"
Jump to navigation
Jump to search
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
[[apiVersion]]: v1 | [[apiVersion]]: v1 | ||
− | [[kind]]: [[Pod]] | + | [[Kind (Kubernetes)|kind]]: [[Pod (Kubernetes)|Pod]] |
[[metadata]]: | [[metadata]]: | ||
name: MyNginxPod | name: MyNginxPod | ||
− | spec: | + | [[spec]]: |
− | containers: | + | [[containers:]] |
- name: MyNginxContainer | - name: MyNginxContainer | ||
[[image]]: nginx | [[image]]: nginx | ||
− | + | == Related terms == | |
+ | * <code>[[kubectl create]]</code> | ||
== See also == | == See also == | ||
* {{kind}} | * {{kind}} | ||
* {{Pod}} | * {{Pod}} | ||
− | |||
− | |||
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Latest revision as of 09:28, 12 October 2022
apiVersion: v1 kind: Pod metadata: name: MyNginxPod spec: containers: - name: MyNginxContainer image: nginx
Related terms[edit]
See also[edit]
kind:
[Pod | Ingress | ClusterConfiguration
|Config | ConfigMap | ServiceAccount | Deployment | List | Secret | Status ], spec: metadata: data:
- Pods,
Mypod.yml
, Create and configure a basic Pod,pod (command)
,pod --help
,pod install
, List containers on a POD,livenessProbe, readinessProbe
, Pod status, Static pod, Pod Security, PodReplacementPolicy
Advertising: