Open rubenrajkowski-nbcuni opened 3 years ago
example link
const replica = { spec: { replicas: 10 } } const replicaModify = await client.api.v1.namespaces('default').deployments(deploymentManifest.metadata.name).patch(body: replica); console.log('Replica Modification: ', replicaModify)
i've tried this as well: await client.apis.apps.v1.namespaces('default').deployments(deploymentManifest.metadata.name).patch(body: replica);
await client.apis.apps.v1.namespaces('default').deployments(deploymentManifest.metadata.name).patch(body: replica);
TypeError: client.api.v1.namespaces(...).deployments is not a function
can you reply with the correct API method I should use from nodejs
code example:
example link
i've tried this as well:
await client.apis.apps.v1.namespaces('default').deployments(deploymentManifest.metadata.name).patch(body: replica);
error:
TypeError: client.api.v1.namespaces(...).deployments is not a function
can you reply with the correct API method I should use from nodejs