gcloud container clusters describe your-cluster-name --region us-central1-a

From wikieduonline
Jump to navigation Jump to search

gcloud container clusters describe your-cluster-name --region us-central1-a


addonsConfig:
   gcePersistentDiskCsiDriverConfig:
     enabled: true
   kubernetesDashboard:
     disabled: true
   networkPolicyConfig:
     disabled: true
 autopilot: {}
 autoscaling:
   autoscalingProfile: BALANCED 
 binaryAuthorization: {}
 clusterIpv4Cidr: 10.44.0.0/14
 createTime: '2022-10-30T21:08:25+00:00'
 currentMasterVersion: 1.22.12-gke.2300
 currentNodeCount: 2
 currentNodeVersion: 1.22.12-gke.2300
 databaseEncryption:
   state: DECRYPTED
 endpoint: 35.225.206.35
 id: 23d3e0ee513e4f7f98752545ddggdsfdgaf30c4d7da4c26509c5de2a7f
 initialClusterVersion: 1.22.12-gke.2300
 initialNodeCount: 1
 instanceGroupUrls:
- https://www.googleapis.com/compute/v1/projects/your-project/zones/us-central1-a/instanceGroupManagers/gke-your-project-gke-your-project-gke-fa11ed38-grp
ipAllocationPolicy:
  stackType: IPV4
  useRoutes: true
labelFingerprint: a9dc16a7
legacyAbac: {}
location: us-central1-a
locations:
- us-central1-a
loggingConfig:
  componentConfig:
    enableComponents:
    - SYSTEM_COMPONENTS
    - WORKLOADS
loggingService: logging.googleapis.com/kubernetes
maintenancePolicy:
  resourceVersion: e3b0c442
masterAuth:
  clusterCaCertificate: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVMVENDQXBXZ0F3SUJBZ0lSQU51WVZTay9OY3ZXeUVyTWlWUnJhTDh3RFFZSktvWklodmNOQVFFTEJRQXblFnT3FhTW8zQWNyZ2NKbU1hcmwasdfsgjOTFybG5wdFdqQlE1SlVWRWdRb3NSN0FkWlQ0R0pGYTl3MU4KamtkR1h2eTd5d1lpWEQwNDJZQUpYT1E9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
masterAuthorizedNetworksConfig: {}
monitoringConfig:
  componentConfig:
    enableComponents:
    - SYSTEM_COMPONENTS
monitoringService: monitoring.googleapis.com/kubernetes
name: your-project-gke
network: your-project-vpc
networkConfig:
  defaultSnatStatus: {}
  network: projects/your-project/global/networks/your-project-vpc
  serviceExternalIpsConfig: {}
  subnetwork: projects/your-project/regions/us-central1/subnetworks/your-project-subnet
nodeConfig:
  diskSizeGb: 100
  diskType: pd-standard
  imageType: COS_CONTAINERD
  labels:
    env: your-project
  machineType: g1-small
  metadata:
    disable-legacy-endpoints: 'true'
  oauthScopes:
  - https://www.googleapis.com/auth/monitoring
  - https://www.googleapis.com/auth/logging.write
  serviceAccount: default
  shieldedInstanceConfig:
    enableIntegrityMonitoring: true
  tags:
  - gke-node
  - your-project-gke
nodeIpv4CidrSize: 24
nodePoolAutoConfig: {}
nodePoolDefaults:
  nodeConfigDefaults:
    loggingConfig:
      variantConfig:
        variant: DEFAULT
nodePools:
- config:
    diskSizeGb: 100
    diskType: pd-standard
    imageType: COS_CONTAINERD
    labels:
      env: your-project
    machineType: g1-small
    metadata:
      disable-legacy-endpoints: 'true'
    oauthScopes:
    - https://www.googleapis.com/auth/monitoring
    - https://www.googleapis.com/auth/logging.write
    serviceAccount: default
    shieldedInstanceConfig:
      enableIntegrityMonitoring: true
    tags:
    - gke-node
    - your-project-gke
  initialNodeCount: 2
  instanceGroupUrls:
  - https://www.googleapis.com/compute/v1/projects/your-project/zones/us-central1-a/instanceGroupManagers/gke-your-project-gke-your-project-gke-fa11ed38-grp
  locations:
  - us-central1-a
  management:
    autoRepair: true
    autoUpgrade: true
  name: your-project-gke
  podIpv4CidrSize: 24
  selfLink: https://container.googleapis.com/v1/projects/your-project/zones/us-central1-a/clusters/your-project-gke/nodePools/your-project-gke
  status: RUNNING
  upgradeSettings:
    maxSurge: 1
    strategy: SURGE
  version: 1.22.12-gke.2300
notificationConfig:
  pubsub: {}
releaseChannel:
  channel: REGULAR
selfLink: https://container.googleapis.com/v1/projects/your-project/zones/us-central1-a/clusters/your-project-gke
servicesIpv4Cidr: 10.47.240.0/20
shieldedNodes:
  enabled: true
status: RUNNING
subnetwork: your-project-subnet
zone: us-central1-a


gcloud container clusters list

See also[edit]

Advertising: