https://pulumi.com logo
#pulumi-deployments
Title
# pulumi-deployments
s

straight-fireman-55591

08/03/2023, 4:10 PM
Hi, can someone help to create a namespace in my gke clsuter ? I'm confused by
kubernetes:core/v1:Namespace
Copy code
gke-cluster:
    type: gcp:container:Cluster
    properties:
      addonsConfig:
        horizontalPodAutoscaling:
          disabled: false
      clusterAutoscaling:
        enabled: false
      clusterTelemetry:
        type: ENABLED
      costManagementConfig: 
        enabled: true
      defaultMaxPodsPerNode: 110
      dnsConfig:
        clusterDns: CLOUD_DNS
        clusterDnsScope: CLUSTER_SCOPE
      initialNodeCount: 1
      ipAllocationPolicy:
        clusterIpv4CidrBlock: /14
        servicesIpv4CidrBlock: /20
      location: europe-west2
      masterAuthorizedNetworksConfig:
        cidrBlocks:
        - cidrBlock: 0.0.0.0/0
          displayName: All networks
      network: ${gke-cluster-vpc.id}
      subnetwork: ${gke-cluster-primary-range-nodes.id}
      networkingMode: VPC_NATIVE
      releaseChannel: 
        channel: STABLE
      removeDefaultNodePool: true
    options:
      dependsOn:
      - ${gke-cluster-sa}
      - ${gke-cluster-vpc}
Copy code
ray-system:
    type: kubernetes:core/v1:Namespace