|
32 | 32 | <i>{{ctrl.namespace}}</i>.
|
33 | 33 | </ng-message>
|
34 | 34 | <ng-message when="pattern">
|
35 |
| - Application name must start with a lowercase letter |
36 |
| - and contain only lowercase letters, numbers, and '-' between words. |
| 35 | + Application name must start with a lowercase letter and contain only lowercase letters, |
| 36 | + numbers, and '-' between words. |
37 | 37 | </ng-message>
|
38 | 38 | <ng-message when="maxlength">
|
39 | 39 | Name must be up to {{ctrl.nameMaxLength}} characters long.
|
|
43 | 43 | </md-input-container>
|
44 | 44 |
|
45 | 45 | <kd-user-help>
|
46 |
| - An 'app' label with this value will be added to the Replication Controller and Service that get deployed. |
47 |
| - <a href="http://kubernetes.github.io/docs/user-guide/labels/" target="_blank">Learn more</a> |
| 46 | + An 'app' label with this value will be added to the Replication Controller and Service that get |
| 47 | + deployed. |
| 48 | + <a href="http://kubernetes.github.io/docs/user-guide/labels/" target="_blank" tabindex="-1"> |
| 49 | + Learn more |
| 50 | + </a> |
48 | 51 | </kd-user-help>
|
49 | 52 | </kd-help-section>
|
50 | 53 |
|
|
56 | 59 | kd-valid-imagereference invalid-image-error-message="ctrl.containerImageErrorMessage">
|
57 | 60 | <ng-messages for="ctrl.form.containerImage.$error" role="alert" multiple>
|
58 | 61 | <ng-message when="required">Container image is required.</ng-message>
|
59 |
| - <ng-message when="validImageReference">Container image is invalid: {{ ctrl.containerImageErrorMessage }}</ng-message> |
| 62 | + <ng-message when="validImageReference"> |
| 63 | + Container image is invalid: {{ ctrl.containerImageErrorMessage }} |
| 64 | + </ng-message> |
60 | 65 | </ng-messages>
|
61 | 66 | </md-input-container>
|
62 | 67 | <kd-user-help>
|
63 | 68 | Enter the URL of a public image on any registry, or a private image hosted on Docker Hub or
|
64 | 69 | Google Container Registry.
|
65 |
| - <a href="http://kubernetes.github.io/docs/user-guide/images/" target="_blank">Learn more</a> |
| 70 | + <a href="http://kubernetes.github.io/docs/user-guide/images/" target="_blank" tabindex="-1"> |
| 71 | + Learn more |
| 72 | + </a> |
66 | 73 | </kd-user-help>
|
67 | 74 | </kd-help-section>
|
68 | 75 |
|
69 | 76 | <kd-help-section>
|
70 | 77 | <md-input-container class="md-block">
|
71 | 78 | <label>Number of pods</label>
|
72 |
| - <input ng-model="ctrl.replicas" type="number" required min="1" name="replicas" kd-validate="integer"> |
| 79 | + <input ng-model="ctrl.replicas" type="number" required min="1" name="replicas" |
| 80 | + kd-validate="integer"> |
73 | 81 | <ng-messages for="ctrl.form.replicas.$error" role="alert" multiple>
|
74 | 82 | <ng-message when="required">Number of pods is required.</ng-message>
|
75 | 83 | <ng-message when="number, kdValid">Number of pods must be a positive integer.</ng-message>
|
76 | 84 | <ng-message when="min">Number of pods must be at least 1.</ng-message>
|
77 | 85 | </ng-messages>
|
78 | 86 | </md-input-container>
|
79 | 87 | <kd-user-help>
|
80 |
| - A Replication Controller will be created to maintain the desired number of pods across your cluster. |
81 |
| - <a href="http://kubernetes.github.io/docs/user-guide/replication-controller/" target="_blank">Learn more</a> |
| 88 | + A Replication Controller will be created to maintain the desired number of pods across your |
| 89 | + cluster. |
| 90 | + <a href="http://kubernetes.github.io/docs/user-guide/replication-controller/" target="_blank" |
| 91 | + tabindex="-1"> |
| 92 | + Learn more |
| 93 | + </a> |
82 | 94 | </kd-user-help>
|
83 | 95 | </kd-help-section>
|
84 | 96 |
|
|
92 | 104 | <span ng-if="ctrl.name">
|
93 | 105 | The internal DNS name for this Service will be: <span class="kd-emphasized">{{ctrl.name}}</span>.
|
94 | 106 | </span>
|
95 |
| - <a href="http://kubernetes.github.io/docs/user-guide/services/" target="_blank">Learn more</a> |
| 107 | + <a href="http://kubernetes.github.io/docs/user-guide/services/" target="_blank" tabindex="-1"> |
| 108 | + Learn more |
| 109 | + </a> |
96 | 110 | </kd-user-help>
|
97 | 111 | </kd-help-section>
|
98 | 112 |
|
|
111 | 125 | <textarea ng-model="ctrl.description"></textarea>
|
112 | 126 | </md-input-container>
|
113 | 127 | <kd-user-help>
|
114 |
| - The description will be added as an annotation to the Replication Controller and displayed in the |
115 |
| - application's details. |
| 128 | + The description will be added as an annotation to the Replication Controller and displayed in |
| 129 | + the application's details. |
116 | 130 | </kd-user-help>
|
117 | 131 | </kd-help-section>
|
118 | 132 |
|
|
125 | 139 | <div flex="40">Value</div>
|
126 | 140 | </div>
|
127 | 141 | <div ng-repeat="label in ctrl.labels">
|
128 |
| - <kd-deploy-label layout="row" flex="auto" label="label" labels="ctrl.labels"></kd-deploy-label> |
| 142 | + <kd-deploy-label layout="row" flex="auto" label="label" labels="ctrl.labels"> |
| 143 | + </kd-deploy-label> |
129 | 144 | </div>
|
130 | 145 | </div>
|
131 | 146 |
|
132 | 147 | <kd-user-help>
|
133 |
| - The specified labels will be applied to the created Replication Controller, Service (if any) and Pods. |
134 |
| - Common labels include release, environment, tier, partition and track. |
135 |
| - <a href="http://kubernetes.github.io/docs/user-guide/labels/" target="_blank">Learn more</a> |
| 148 | + The specified labels will be applied to the created Replication Controller, Service (if any) |
| 149 | + and Pods. Common labels include release, environment, tier, partition and track. |
| 150 | + <a href="http://kubernetes.github.io/docs/user-guide/labels/" target="_blank" tabindex="-1"> |
| 151 | + Learn more |
| 152 | + </a> |
136 | 153 | </kd-user-help>
|
137 | 154 | </kd-help-section>
|
138 | 155 |
|
|
150 | 167 | </md-input-container>
|
151 | 168 | <kd-user-help>
|
152 | 169 | Namespaces let you partition resources into logically named groups.
|
153 |
| - <a href="http://kubernetes.github.io/docs/admin/namespaces/" target="_blank">Learn more</a> |
| 170 | + <a href="http://kubernetes.github.io/docs/admin/namespaces/" target="_blank" tabindex="-1"> |
| 171 | + Learn more |
| 172 | + </a> |
154 | 173 | </kd-user-help>
|
155 | 174 | </kd-help-section>
|
156 | 175 |
|
|
169 | 188 | <kd-user-help>
|
170 | 189 | The specified image could require a pull secret credential if it is private. You may choose an
|
171 | 190 | existing secret or create a new one.
|
172 |
| - <a href="http://kubernetes.github.io/docs/user-guide/secrets/" target="_blank">Learn more</a> |
| 191 | + <a href="http://kubernetes.github.io/docs/user-guide/secrets/" target="_blank" tabindex="-1"> |
| 192 | + Learn more |
| 193 | + </a> |
173 | 194 | </kd-user-help>
|
174 | 195 | </kd-help-section>
|
175 | 196 |
|
|
195 | 216 | </div>
|
196 | 217 | <kd-user-help>
|
197 | 218 | You can specify minimum CPU and memory requirements for the container.
|
198 |
| - <a href="http://kubernetes.io/v1.1/docs/admin/limitrange/" target="_blank">Learn more</a> |
| 219 | + <a href="http://kubernetes.io/v1.1/docs/admin/limitrange/" target="_blank" tabindex="-1"> |
| 220 | + Learn more |
| 221 | + </a> |
199 | 222 | </kd-user-help>
|
200 | 223 | </kd-help-section>
|
201 | 224 |
|
|
214 | 237 | <kd-user-help>
|
215 | 238 | By default, your containers run the selected image's default entrypoint command. You can
|
216 | 239 | use the command options to override the default.
|
217 |
| - <a href="http://kubernetes.github.io/docs/user-guide/containers/" target="_blank">Learn more</a> |
| 240 | + <a href="http://kubernetes.github.io/docs/user-guide/containers/" target="_blank" |
| 241 | + tabindex="-1"> |
| 242 | + Learn more |
| 243 | + </a> |
218 | 244 | </kd-user-help>
|
219 | 245 | </kd-help-section>
|
220 | 246 |
|
|
226 | 252 | </div>
|
227 | 253 | <kd-user-help>
|
228 | 254 | Processes in privileged containers are equivalent to processes running as root on the host.
|
229 |
| - <a href="http://kubernetes.github.io/docs/user-guide/pods/#privileged-mode-for-pod-containers" target="_blank">Learn more</a> |
| 255 | + <a href="http://kubernetes.github.io/docs/user-guide/pods/#privileged-mode-for-pod-containers" |
| 256 | + target="_blank" tabindex="-1"> |
| 257 | + Learn more |
| 258 | + </a> |
230 | 259 | </kd-user-help>
|
231 | 260 | </kd-help-section>
|
232 | 261 |
|
|
236 | 265 | <kd-user-help>
|
237 | 266 | Environment variables available for use in the container. Values can reference other variables
|
238 | 267 | using $(VAR_NAME) syntax.
|
239 |
| - <a href="http://kubernetes.github.io/docs/docs/design/expansion/" target="_blank">Learn more</a> |
| 268 | + <a href="http://kubernetes.github.io/docs/docs/design/expansion/" target="_blank" |
| 269 | + tabindex="-1"> |
| 270 | + Learn more |
| 271 | + </a> |
240 | 272 | </kd-user-help>
|
241 | 273 | </kd-help-section>
|
242 | 274 | </div>
|
243 | 275 |
|
244 | 276 | <!-- show/hide advanced options toggle -->
|
245 | 277 | <md-button class="md-primary kd-deploy-moreoptions-button" type="button"
|
246 |
| - ng-click="ctrl.switchMoreOptions()" |
247 |
| - ng-hide="ctrl.isMoreOptionsEnabled()"> |
| 278 | + ng-click="ctrl.switchMoreOptions()" ng-hide="ctrl.isMoreOptionsEnabled()"> |
248 | 279 | <md-icon>arrow_drop_down</md-icon>show advanced options
|
249 | 280 | </md-button>
|
250 | 281 | <md-button class="md-primary kd-deploy-moreoptions-button" type="button"
|
251 |
| - ng-click="ctrl.switchMoreOptions()" |
252 |
| - ng-show="ctrl.isMoreOptionsEnabled()"> |
| 282 | + ng-click="ctrl.switchMoreOptions()" ng-show="ctrl.isMoreOptionsEnabled()"> |
253 | 283 | <md-icon>arrow_drop_up</md-icon>hide advanced options
|
254 | 284 | </md-button>
|
0 commit comments