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
0cecefd4
Commit
0cecefd4
authored
Nov 09, 2015
by
vaikas-google
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/kubernetes/deployment-manager
Merging from upstream.
parents
79387903
ef6dbb0e
Show 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 @
0cecefd4
resources
:
resources
:
-
name
:
expandybird
-
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
:
properties
:
service_port
:
8081
service_port
:
8081
target_port
:
8080
target_port
:
8080
...
@@ -11,7 +11,7 @@ resources:
...
@@ -11,7 +11,7 @@ resources:
labels
:
labels
:
app
:
dm
app
:
dm
-
name
:
resourcifier
-
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
:
properties
:
service_port
:
8082
service_port
:
8082
target_port
:
8080
target_port
:
8080
...
@@ -22,7 +22,7 @@ resources:
...
@@ -22,7 +22,7 @@ resources:
labels
:
labels
:
app
:
dm
app
:
dm
-
name
:
manager
-
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
:
properties
:
service_port
:
8080
service_port
:
8080
target_port
:
8080
target_port
:
8080
...
...
examples/guestbook/README.md
View file @
0cecefd4
...
@@ -40,7 +40,7 @@ The front end is a replicated service with 3 replicas:
...
@@ -40,7 +40,7 @@ The front end is a replicated service with 3 replicas:
```
```
- name: frontend
- 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:
properties:
service_port: 80
service_port: 80
container_port: 80
container_port: 80
...
@@ -63,7 +63,7 @@ which is a [Jinja](http://jinja.pocoo.org/) template with a [schema](../../types
...
@@ -63,7 +63,7 @@ which is a [Jinja](http://jinja.pocoo.org/) template with a [schema](../../types
resources:
resources:
- name: redis-master
- 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:
properties:
# This has to be overwritten since service names are hard coded in the code
# This has to be overwritten since service names are hard coded in the code
service_name: redis-master
service_name: redis-master
...
@@ -75,7 +75,7 @@ resources:
...
@@ -75,7 +75,7 @@ resources:
image: redis
image: redis
- name: redis-slave
- 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:
properties:
# This has to be overwritten since service names are hard coded in the code
# This has to be overwritten since service names are hard coded in the code
service_name: redis-slave
service_name: redis-slave
...
@@ -99,7 +99,7 @@ You can see the types you deployed to the cluster using the `deployed-types` com
...
@@ -99,7 +99,7 @@ You can see the types you deployed to the cluster using the `deployed-types` com
```
```
dm deployed-types
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
This output shows 2 primitive types (Service and ReplicationController), and 2
...
...
examples/guestbook/guestbook.yaml
View file @
0cecefd4
resources
:
resources
:
-
name
:
frontend
-
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
:
properties
:
service_port
:
80
service_port
:
80
container_port
:
80
container_port
:
80
...
@@ -8,5 +8,5 @@ resources:
...
@@ -8,5 +8,5 @@ resources:
replicas
:
3
replicas
:
3
image
:
gcr.io/google_containers/example-guestbook-php-redis:v3
image
:
gcr.io/google_containers/example-guestbook-php-redis:v3
-
name
:
redis
-
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
properties
:
null
types/redis/v1/redis.jinja
View file @
0cecefd4
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
resources:
resources:
- name: redis-master
- 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:
properties:
# This has to be overwritten since service names are hard coded in the code
# This has to be overwritten since service names are hard coded in the code
service_name: redis-master
service_name: redis-master
...
@@ -15,7 +15,7 @@ resources:
...
@@ -15,7 +15,7 @@ resources:
image: redis
image: redis
- name: redis-slave
- 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:
properties:
# This has to be overwritten since service names are hard coded in the code
# This has to be overwritten since service names are hard coded in the code
service_name: redis-slave
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