Skip to content

Commit 7c63f90

Browse files
Add labels and taints to Pools (#158)
Co-authored-by: Haardik Dharma <[email protected]>
1 parent fa3d1c8 commit 7c63f90

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

kubernetes.go

+5-3
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,11 @@ type KubernetesCluster struct {
110110

111111
// RequiredPools returns the required pools for a given Kubernetes cluster
112112
type RequiredPools struct {
113-
ID string `json:"id"`
114-
Size string `json:"size"`
115-
Count int `json:"count"`
113+
ID string `json:"id"`
114+
Size string `json:"size"`
115+
Count int `json:"count"`
116+
Labels map[string]string `json:"labels,omitempty"`
117+
Taints []corev1.Taint `json:"taints,omitempty"`
116118
}
117119

118120
// PaginatedKubernetesClusters is a Kubernetes k3s cluster

0 commit comments

Comments
 (0)