Skip to content

Commit

Permalink
Add labels and taints to Pools (#158)
Browse files Browse the repository at this point in the history
Co-authored-by: Haardik Dharma <[email protected]>
  • Loading branch information
haardikdharma10 and haardikdharma10 authored Jul 11, 2023
1 parent fa3d1c8 commit 7c63f90
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,11 @@ type KubernetesCluster struct {

// RequiredPools returns the required pools for a given Kubernetes cluster
type RequiredPools struct {
ID string `json:"id"`
Size string `json:"size"`
Count int `json:"count"`
ID string `json:"id"`
Size string `json:"size"`
Count int `json:"count"`
Labels map[string]string `json:"labels,omitempty"`
Taints []corev1.Taint `json:"taints,omitempty"`
}

// PaginatedKubernetesClusters is a Kubernetes k3s cluster
Expand Down

0 comments on commit 7c63f90

Please sign in to comment.