Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

feat: add APIs for GKE OOTB metrics packages #403

Merged
merged 4 commits into from
Aug 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions google/cloud/container_v1/types/cluster_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -8907,12 +8907,30 @@ class Component(proto.Enum):
kube-scheduler
CONTROLLER_MANAGER (5):
kube-controller-manager
STORAGE (7):
Storage
HPA (8):
Horizontal Pod Autoscaling
POD (9):
Pod
DAEMONSET (10):
DaemonSet
DEPLOYMENT (11):
Deployment
STATEFULSET (12):
Statefulset
"""
COMPONENT_UNSPECIFIED = 0
SYSTEM_COMPONENTS = 1
APISERVER = 3
SCHEDULER = 4
CONTROLLER_MANAGER = 5
STORAGE = 7
HPA = 8
POD = 9
DAEMONSET = 10
DEPLOYMENT = 11
STATEFULSET = 12

enable_components: MutableSequence[Component] = proto.RepeatedField(
proto.ENUM,
Expand Down
18 changes: 18 additions & 0 deletions google/cloud/container_v1beta1/types/cluster_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -9845,13 +9845,31 @@ class Component(proto.Enum):
kube-scheduler
CONTROLLER_MANAGER (5):
kube-controller-manager
STORAGE (7):
Storage
HPA (8):
Horizontal Pod Autoscaling
POD (9):
Pod
DAEMONSET (10):
DaemonSet
DEPLOYMENT (11):
Deployment
STATEFULSET (12):
Statefulset
"""
COMPONENT_UNSPECIFIED = 0
SYSTEM_COMPONENTS = 1
WORKLOADS = 2
APISERVER = 3
SCHEDULER = 4
CONTROLLER_MANAGER = 5
STORAGE = 7
HPA = 8
POD = 9
DAEMONSET = 10
DEPLOYMENT = 11
STATEFULSET = 12

enable_components: MutableSequence[Component] = proto.RepeatedField(
proto.ENUM,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-container",
"version": "2.28.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-container",
"version": "2.28.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down