Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
ef6dbb0e
Commit
ef6dbb0e
authored
Nov 09, 2015
by
vaikas-google
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #31 from jackgr/move-types
Move type references from /examples to /types.
parents
191292f1
e38cf85a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
11 deletions
+11
-11
bootstrap.yaml
examples/bootstrap/bootstrap.yaml
+3
-3
README.md
examples/guestbook/README.md
+4
-4
guestbook.yaml
examples/guestbook/guestbook.yaml
+2
-2
redis.jinja
types/redis/v1/redis.jinja
+2
-2
No files found.
examples/bootstrap/bootstrap.yaml
View file @
ef6dbb0e
resources
:
-
name
:
expandybird
type
:
https://raw.githubusercontent.com/kubernetes/deployment-manager/master/
examples/replicatedservice
/replicatedservice.py
type
:
https://raw.githubusercontent.com/kubernetes/deployment-manager/master/
types/replicatedservice/v1
/replicatedservice.py
properties
:
service_port
:
8081
target_port
:
8080
...
...
@@ -11,7 +11,7 @@ resources:
labels
:
app
:
dm
-
name
:
resourcifier
type
:
https://raw.githubusercontent.com/kubernetes/deployment-manager/master/
examples/replicatedservice
/replicatedservice.py
type
:
https://raw.githubusercontent.com/kubernetes/deployment-manager/master/
types/replicatedservice/v1
/replicatedservice.py
properties
:
service_port
:
8082
target_port
:
8080
...
...
@@ -22,7 +22,7 @@ resources:
labels
:
app
:
dm
-
name
:
manager
type
:
https://raw.githubusercontent.com/kubernetes/deployment-manager/master/
examples/replicatedservice
/replicatedservice.py
type
:
https://raw.githubusercontent.com/kubernetes/deployment-manager/master/
types/replicatedservice/v1
/replicatedservice.py
properties
:
service_port
:
8080
target_port
:
8080
...
...
examples/guestbook/README.md
View file @
ef6dbb0e
...
...
@@ -40,7 +40,7 @@ The front end is a replicated service with 3 replicas:
```
- name: frontend
type: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/
examples/replicatedservice
/replicatedservice.py
type: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/
types/replicatedservice/v1
/replicatedservice.py
properties:
service_port: 80
container_port: 80
...
...
@@ -63,7 +63,7 @@ which is a [Jinja](http://jinja.pocoo.org/) template with a [schema](../../types
resources:
- name: redis-master
type: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/
examples/replicatedservice
/replicatedservice.py
type: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/
types/replicatedservice/v1
/replicatedservice.py
properties:
# This has to be overwritten since service names are hard coded in the code
service_name: redis-master
...
...
@@ -75,7 +75,7 @@ resources:
image: redis
- name: redis-slave
type: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/
examples/replicatedservice
/replicatedservice.py
type: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/
types/replicatedservice/v1
/replicatedservice.py
properties:
# This has to be overwritten since service names are hard coded in the code
service_name: redis-slave
...
...
@@ -99,7 +99,7 @@ You can see the types you deployed to the cluster using the `deployed-types` com
```
dm deployed-types
["Service","ReplicationController","redis.jinja","https://raw.githubusercontent.com/kubernetes/deployment-manager/master/
examples/replicatedservice
/replicatedservice.py"]
["Service","ReplicationController","redis.jinja","https://raw.githubusercontent.com/kubernetes/deployment-manager/master/
types/replicatedservice/v1
/replicatedservice.py"]
```
This output shows 2 primitive types (Service and ReplicationController), and 2
...
...
examples/guestbook/guestbook.yaml
View file @
ef6dbb0e
resources
:
-
name
:
frontend
type
:
https://raw.githubusercontent.com/kubernetes/deployment-manager/master/
examples/replicatedservice
/replicatedservice.py
type
:
https://raw.githubusercontent.com/kubernetes/deployment-manager/master/
types/replicatedservice/v1
/replicatedservice.py
properties
:
service_port
:
80
container_port
:
80
...
...
@@ -8,5 +8,5 @@ resources:
replicas
:
3
image
:
gcr.io/google_containers/example-guestbook-php-redis:v3
-
name
:
redis
type
:
https://raw.githubusercontent.com/kubernetes/deployment-manager/master/
examples/redis
/redis.jinja
type
:
https://raw.githubusercontent.com/kubernetes/deployment-manager/master/
types/redis/v1
/redis.jinja
properties
:
null
types/redis/v1/redis.jinja
View file @
ef6dbb0e
...
...
@@ -3,7 +3,7 @@
resources:
- name: redis-master
type: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/
examples/replicatedservice
/replicatedservice.py
type: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/
types/replicatedservice/v1
/replicatedservice.py
properties:
# This has to be overwritten since service names are hard coded in the code
service_name: redis-master
...
...
@@ -15,7 +15,7 @@ resources:
image: redis
- name: redis-slave
type: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/
examples/replicatedservice
/replicatedservice.py
type: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/
types/replicatedservice/v1
/replicatedservice.py
properties:
# This has to be overwritten since service names are hard coded in the code
service_name: redis-slave
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment