combineDemos
This commit is contained in:
parent
c0f576fe5a
commit
c6600fb96e
|
|
@ -40,10 +40,8 @@ and your `PATH` contains `$GOPATH/bin`:
|
||||||
go get k8s.io/kubectl/cmd/kinflate
|
go get k8s.io/kubectl/cmd/kinflate
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: golang 1.10 or newer is required.
|
|
||||||
|
|
||||||
## Demos
|
## Demos
|
||||||
|
|
||||||
* [hello world one-pager](demoHelloWorldShort.md)
|
* [hello world one-pager](demo/helloWorldOnePager.md)
|
||||||
* [hello world, with instances, slide format](demoHelloWorldLong/README.md)
|
* [hello world detailed](demo/helloWorldDetailed/README.md) (with instances, in slide format)
|
||||||
* [mysql one-pager](demoMySql.md)
|
* [mysql one-pager](demo/mySql.md)
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,11 @@
|
||||||
# Demo: hello world with instances
|
# Demo: hello world with instances
|
||||||
|
|
||||||
Goal:
|
Steps:
|
||||||
|
|
||||||
1. Clone a simple off-the-shelf example as a base configuration.
|
1. Clone an off-the-shelf configuration as your base.
|
||||||
1. Customize it.
|
1. Customize it.
|
||||||
1. Create two different instances based on the customization.
|
1. Create two different instances (_staging_ and _production_)
|
||||||
|
from your customized base.
|
||||||
|
|
||||||
First define a place to work:
|
First define a place to work:
|
||||||
|
|
||||||
|
|
@ -10,7 +10,6 @@ apiVersion: manifest.k8s.io/v1alpha1
|
||||||
kind: Package
|
kind: Package
|
||||||
metadata:
|
metadata:
|
||||||
name: makes-production-tuthello
|
name: makes-production-tuthello
|
||||||
# description: hello configured for production
|
|
||||||
namePrefix: production-
|
namePrefix: production-
|
||||||
objectLabels:
|
objectLabels:
|
||||||
instance: production
|
instance: production
|
||||||
|
|
@ -10,7 +10,6 @@ apiVersion: manifest.k8s.io/v1alpha1
|
||||||
kind: Package
|
kind: Package
|
||||||
metadata:
|
metadata:
|
||||||
name: makes-staging-hello
|
name: makes-staging-hello
|
||||||
# description: hello configured for staging
|
|
||||||
namePrefix: staging-
|
namePrefix: staging-
|
||||||
objectLabels:
|
objectLabels:
|
||||||
instance: staging
|
instance: staging
|
||||||
|
|
@ -4,8 +4,8 @@
|
||||||
|
|
||||||
Steps:
|
Steps:
|
||||||
|
|
||||||
1. Clone an off-the-shelf example configuration.
|
1. Clone an off-the-shelf configuration.
|
||||||
1. Customizes the resources in it with a name prefix.
|
1. Customize its resources with a name prefix.
|
||||||
1. Apply the result to a cluster via [kubectl].
|
1. Apply the result to a cluster via [kubectl].
|
||||||
|
|
||||||
First make a place to work:
|
First make a place to work:
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# MySql Example
|
# Demo: MySql
|
||||||
|
|
||||||
This example takes some off-the-shelf k8s resources
|
This example takes some off-the-shelf k8s resources
|
||||||
designed for MySQL, and customizes them to suit a
|
designed for MySQL, and customizes them to suit a
|
||||||
Loading…
Reference in New Issue