-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.yaml
executable file
·97 lines (87 loc) · 2.82 KB
/
types.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
tosca_definitions_version: cloudify_dsl_1_2
node_types:
cloudify.kubernetes.Base:
derived_from: cloudify.nodes.Root
properties:
ssh_keyfilename:
description: file name that holds ssh key for passwordless operation
default: ''
ssh_username:
description: ssh user
default: ''
ssh_password:
description: ssh password when not using passwordless operation
default: ''
ssh_port:
description: ssh port. defaults to 22
default: 22
install_docker:
description: install docker
default: false
install:
description: install kubernetes
default: true
##########################################
# Represents a master/node
##########################################
cloudify.kubernetes.Master:
derived_from: cloudify.kubernetes.Base
properties:
install_docker:
default: false
master_port:
default: 8080
##########################################
# Represents a minion/node
##########################################
cloudify.kubernetes.Node:
derived_from: cloudify.kubernetes.Base
##########################################
# Represents a kubernetes service
##########################################
cloudify.kubernetes.Microservice:
derived_from: cloudify.nodes.Root
properties:
name:
description: the name of the service
default: ''
image:
description: the image to run
default: ''
port:
description: the port for the service
default: -1
target_port:
description: the target port to map
default: {get_property: [SELF,port]}
protocol:
description: the service protocol { TCP|UDP } TCP default
default: TCP
replicas:
description: the number of instances to run
default: 1
run_overrides:
description: json overrides for kubectl run
default: ''
expose_overrides:
description: json overrides for kubectl expose
default: ''
config:
description: key/values in kubernetes format. if config_path also defined, merge these values with file contents
default: {}
config_path:
description: external kubernetes manifest for service
default: ''
config_overrides:
description: overrides in python format for config_path settings
default: ''
relationships:
cloudify.kubernetes.relationships.connected_to_master:
derived_from: cloudify.relationships.connected_to
cloudify.kubernetes.relationships.contained_in_host:
derived_from: cloudify.relationships.contained_in
cloudify.kubernetes.relationships.copy_rtprops:
derived_from: cloudify.relationships.connected_to
properties:
prop_list:
default: ""