``` const primary = new GkeCluster("Primary", {});...
# general
b
Copy code
const primary = new GkeCluster("Primary", {});
const primaryStandardNodes = new gcp.container.NodePool(
    "primary-standard-nodes",
    {
        cluster: primary.cluster.name,
        nodeConfig: {
            machineType: "n1-standard-1",
            metadata: {
                "disable-legacy-endpoints": "true"
            },
            oauthScopes: [
                "<https://www.googleapis.com/auth/logging.write>",
                "<https://www.googleapis.com/auth/monitoring>"
            ],
            preemptible: false
        },
        nodeCount: 1
    }
);