Skip to content

Commit

Permalink
eviction_hard
Browse files Browse the repository at this point in the history
  • Loading branch information
shaohq committed Nov 12, 2022
1 parent 8761f25 commit 11cd885
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions web/src/views/clusters/plan/k8s_cluster/K8sCluster.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@ zh:
</template>
</FieldSelect>
<FieldRadio :holder="vars" :prop="prop" fieldName="kube_log_level" :options="[0, 1, 2, 3]" required></FieldRadio>
<!-- <K8sClusterEvictionHard :cluster="cluster" fieldName="eviction_hard_control_plane"></K8sClusterEvictionHard>
<K8sClusterEvictionHard :cluster="cluster" fieldName="eviction_hard"></K8sClusterEvictionHard> -->
<template v-if="cluster.resourcePackage && cluster.resourcePackage.metadata.supported_feature && cluster.resourcePackage.metadata.supported_feature.eviction_hard">
<K8sClusterEvictionHard :cluster="cluster" fieldName="eviction_hard_control_plane"></K8sClusterEvictionHard>
<K8sClusterEvictionHard :cluster="cluster" fieldName="eviction_hard"></K8sClusterEvictionHard>
</template>
<FieldNumber :holder="vars" :prop="prop" fieldName="kubelet_event_record_qps">
<template #append>
<span v-if="vars.kubelet_event_record_qps === 0">{{$t('nolimit')}}</span>
Expand All @@ -65,7 +67,7 @@ zh:
</template>

<script>
// import K8sClusterEvictionHard from './K8sClusterEvictionHard.vue'
import K8sClusterEvictionHard from './K8sClusterEvictionHard.vue'
export default {
props: {
Expand Down Expand Up @@ -113,7 +115,7 @@ export default {
set () {},
},
},
// components: { K8sClusterEvictionHard },
components: { K8sClusterEvictionHard },
mounted () {
},
methods: {
Expand Down

0 comments on commit 11cd885

Please sign in to comment.