template.html 1.9 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<!--
Copyright 2017 The Kubernetes Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<kd-object-meta [initialized]="isInitialized"
                [objectMeta]="statefulSet?.objectMeta"></kd-object-meta>

20
<kd-card [initialized]="isInitialized">
P
Philippe MARTIN 已提交
21
  <div title
22
       i18n>Resource information</div>
23 24 25

  <div content
       *ngIf="isInitialized"
26
       fxLayout="row wrap">
27 28
    <kd-property *ngIf="statefulSet?.labelSelector"
                 fxFlex="100">
P
Philippe MARTIN 已提交
29 30
      <div key
           i18n>Label Selector</div>
31
      <div value>
32 33
        <kd-chips [map]="statefulSet.labelSelector"
                  [displayAll]="true"></kd-chips>
34 35 36 37
      </div>
    </kd-property>

    <kd-property *ngIf="statefulSet?.containerImages">
P
Philippe MARTIN 已提交
38 39
      <div key
           i18n>Images</div>
40
      <div value>
41 42
        <kd-chips [map]="statefulSet.containerImages"
                  [displayAll]="true"></kd-chips>
43 44 45 46
      </div>
    </kd-property>

    <kd-property *ngIf="statefulSet?.initContainerImages">
P
Philippe MARTIN 已提交
47 48
      <div key
           i18n>Init images</div>
49
      <div value>
50 51
        <kd-chips [map]="statefulSet.initContainerImages"
                  [displayAll]="true"></kd-chips>
52 53 54 55 56 57 58 59
      </div>
    </kd-property>
  </div>
</kd-card>

<kd-pod-status-card [podInfo]="statefulSet?.podInfo"
                    [initialized]="isInitialized"></kd-pod-status-card>

60 61 62
<kd-pod-list [endpoint]="podListEndpoint"></kd-pod-list>

<kd-event-list [endpoint]="eventListEndpoint"></kd-event-list>