mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 18:00:08 +00:00
Merge pull request #568 from smarterclayton/update_examples
Some examples don't pass Manifest validation
This commit is contained in:
commit
c874faa1d1
@ -9,6 +9,7 @@
|
|||||||
"version": "v1beta1",
|
"version": "v1beta1",
|
||||||
"id": "frontendController",
|
"id": "frontendController",
|
||||||
"containers": [{
|
"containers": [{
|
||||||
|
"name": "php-redis",
|
||||||
"image": "brendanburns/php-redis",
|
"image": "brendanburns/php-redis",
|
||||||
"ports": [{"containerPort": 80, "hostPort": 8000}]
|
"ports": [{"containerPort": 80, "hostPort": 8000}]
|
||||||
}]
|
}]
|
||||||
|
7
examples/guestbook/frontend-service.json
Normal file
7
examples/guestbook/frontend-service.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"id": "frontend",
|
||||||
|
"port": 9998,
|
||||||
|
"selector": {
|
||||||
|
"name": "frontend"
|
||||||
|
}
|
||||||
|
}
|
@ -9,6 +9,7 @@
|
|||||||
"version": "v1beta1",
|
"version": "v1beta1",
|
||||||
"id": "redisSlaveController",
|
"id": "redisSlaveController",
|
||||||
"containers": [{
|
"containers": [{
|
||||||
|
"name": "slave"
|
||||||
"image": "brendanburns/redis-slave",
|
"image": "brendanburns/redis-slave",
|
||||||
"ports": [{"containerPort": 6379, "hostPort": 6380}]
|
"ports": [{"containerPort": 6379, "hostPort": 6380}]
|
||||||
}]
|
}]
|
||||||
|
Loading…
Reference in New Issue
Block a user