|
|
@ -62,7 +62,7 @@ The nginx service is a replicated service with 2 replicas:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
- name: nginx
|
|
|
|
- name: nginx
|
|
|
|
type: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/types/replicatedservice/v2/replicatedservice.py
|
|
|
|
type: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/templates/replicatedservice/v2/replicatedservice.py
|
|
|
|
properties:
|
|
|
|
properties:
|
|
|
|
service_port: {{ NGINX_PORT }}
|
|
|
|
service_port: {{ NGINX_PORT }}
|
|
|
|
container_port: {{ NGINX_PORT }}
|
|
|
|
container_port: {{ NGINX_PORT }}
|
|
|
@ -83,7 +83,7 @@ The wordpress-php service is a replicated service with 2 replicas:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
- name: wordpress-php
|
|
|
|
- name: wordpress-php
|
|
|
|
type: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/types/replicatedservice/v2/replicatedservice.py
|
|
|
|
type: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/templates/replicatedservice/v2/replicatedservice.py
|
|
|
|
properties:
|
|
|
|
properties:
|
|
|
|
service_name: wordpress-php
|
|
|
|
service_name: wordpress-php
|
|
|
|
service_port: {{ WORDPRESS_PHP_PORT }}
|
|
|
|
service_port: {{ WORDPRESS_PHP_PORT }}
|
|
|
@ -107,7 +107,7 @@ The MySQL service is a replicated service with a single replica:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
- name: mysql
|
|
|
|
- name: mysql
|
|
|
|
type: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/types/replicatedservice/v2/replicatedservice.py
|
|
|
|
type: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/templates/replicatedservice/v2/replicatedservice.py
|
|
|
|
properties:
|
|
|
|
properties:
|
|
|
|
service_port: {{ MYSQL_PORT }}
|
|
|
|
service_port: {{ MYSQL_PORT }}
|
|
|
|
container_port: {{ MYSQL_PORT }}
|
|
|
|
container_port: {{ MYSQL_PORT }}
|
|
|
@ -128,7 +128,7 @@ The NFS service is a replicated service with a single replica:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
- name: nfs-server
|
|
|
|
- name: nfs-server
|
|
|
|
type: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/types/replicatedservice/v2/replicatedservice.py
|
|
|
|
type: https://raw.githubusercontent.com/kubernetes/deployment-manager/master/templates/replicatedservice/v2/replicatedservice.py
|
|
|
|
properties:
|
|
|
|
properties:
|
|
|
|
service_port: {{ NFS_SERVER_PORT }}
|
|
|
|
service_port: {{ NFS_SERVER_PORT }}
|
|
|
|
container_port: {{ NFS_SERVER_PORT }}
|
|
|
|
container_port: {{ NFS_SERVER_PORT }}
|
|
|
|