Merge pull request #107 from richardxz/master

add pvc status submit function
This commit is contained in:
richardxz
2018-06-21 15:00:23 +08:00
committed by GitHub
3 changed files with 9 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ import (
"kubesphere.io/kubesphere/pkg/models/metrics"
)
const inUse = "in_use_pods"
const inUse = "kubesphere.io/in_use_pods"
func (ctl *PodCtl) addAnnotationToPvc(item v1.Pod) {
volumes := item.Spec.Volumes

View File

@@ -33,6 +33,7 @@ import (
const (
resyncCircle = 180
Stopped = "stopped"
PvcPending = "Pending"
Running = "running"
Updating = "updating"
tablePods = "pods"