mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
feat(k8s/application): app details for pods
This commit is contained in:
parent
3da9751c82
commit
174e28b850
5 changed files with 15 additions and 11 deletions
|
@ -221,10 +221,6 @@ class KubernetesApplicationConverter {
|
|||
const res = new KubernetesApplication();
|
||||
KubernetesApplicationConverter.applicationCommon(res, data, pods, service, ingresses);
|
||||
res.ApplicationType = KubernetesApplicationTypes.POD;
|
||||
// res.DeploymentType = KubernetesApplicationDeploymentTypes.REPLICATED;
|
||||
// res.DataAccessPolicy = KubernetesApplicationDataAccessPolicies.SHARED;
|
||||
// res.RunningPodsCount = data.status.availableReplicas || data.status.replicas - data.status.unavailableReplicas || 0;
|
||||
// res.TotalPodsCount = data.spec.replicas;
|
||||
return res;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue