mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 01:40:07 +00:00
kind is needed to start the pod
fix for the following error: the provided version "v1beta1" and kind "" cannot be mapped to a supported object
This commit is contained in:
parent
6624b64f44
commit
7c99d960fe
@ -11,6 +11,7 @@ Trivially, a single container might be a pod. For example, you can express a si
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: v1beta1
|
apiVersion: v1beta1
|
||||||
|
kind: Pod
|
||||||
id: www
|
id: www
|
||||||
desiredState:
|
desiredState:
|
||||||
manifest:
|
manifest:
|
||||||
@ -31,6 +32,7 @@ Now that's great for a static web server, but what about persistent storage? We
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: v1beta1
|
apiVersion: v1beta1
|
||||||
|
kind: Pod
|
||||||
id: storage
|
id: storage
|
||||||
desiredState:
|
desiredState:
|
||||||
manifest:
|
manifest:
|
||||||
@ -88,6 +90,7 @@ However, often you want to have two different containers that work together. An
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: v1beta1
|
apiVersion: v1beta1
|
||||||
|
kind: Pod
|
||||||
id: www
|
id: www
|
||||||
desiredState:
|
desiredState:
|
||||||
manifest:
|
manifest:
|
||||||
|
Loading…
Reference in New Issue
Block a user