mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-03 02:07:38 +00:00
Add kind and apiVersion to guestbook example.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
{
|
||||
"kind": "ReplicationControllerList",
|
||||
"apiVersion": "v1beta1",
|
||||
"items": [
|
||||
{
|
||||
"id": "testRun",
|
||||
@@ -30,4 +32,4 @@
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"id": "nginxController",
|
||||
"apiVersion": "v1beta1",
|
||||
"kind": "ReplicationController",
|
||||
"desiredState": {
|
||||
"replicas": 2,
|
||||
"replicaSelector": {"name": "nginx"},
|
||||
|
@@ -1,5 +1,7 @@
|
||||
{
|
||||
"id": "example",
|
||||
"kind": "Service",
|
||||
"apiVersion": "v1beta1",
|
||||
"port": 8000,
|
||||
"labels": {
|
||||
"name": "nginx"
|
||||
|
@@ -1,4 +1,6 @@
|
||||
{
|
||||
"kind": "PodList",
|
||||
"apiVersion": "v1beta1",
|
||||
"items": [
|
||||
{
|
||||
"id": "my-pod-1",
|
||||
|
@@ -1,4 +1,6 @@
|
||||
{
|
||||
"kind": "Pod",
|
||||
"apiVersion": "v1beta1",
|
||||
"id": "php",
|
||||
"desiredState": {
|
||||
"manifest": {
|
||||
|
@@ -1,4 +1,6 @@
|
||||
{
|
||||
"kind": "ServiceList",
|
||||
"apiVersion": "v1beta1",
|
||||
"items": [
|
||||
{
|
||||
"id": "example1",
|
||||
|
@@ -1,4 +1,6 @@
|
||||
{
|
||||
"kind": "Service",
|
||||
"apiVersion": "v1beta1",
|
||||
"id": "example",
|
||||
"port": 8000,
|
||||
"labels": {
|
||||
|
Reference in New Issue
Block a user