update-service

subtitle

Update service.

version

0.9.109

Description

Update service.

Synopsis

  update-service
--service-crn <value>
--min-k8s-node-count <value>
--max-k8s-node-count <value>
[--kube-api-authorized-ip-ranges <value>]
[--load-balancer-authorized-ip-ranges <value>]
[--skip-preflight-checks | --no-skip-preflight-checks]
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--service-crn (string)

The service CRN.

--min-k8s-node-count (integer)

The minimum number of kubernetes nodes needed for the service.

--max-k8s-node-count (integer)

The maximum number of kubernetes nodes that service may scale up under high-demand situations.

--kube-api-authorized-ip-ranges (array)

The IP Ranges authorized to connect to the Kubernetes API Server.

Syntax:

"string" "string" ...

--load-balancer-authorized-ip-ranges (array)

IP Ranges that are authorized to access CDF local endpoints.

Syntax:

"string" "string" ...

--skip-preflight-checks | --no-skip-preflight-checks (boolean)

Indicates whether to skip Liftie’s pre-flight checks.

--cli-input-json (string)

Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (boolean)

Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for --cli-input-json.

Output

service -> (object)

The DataFlow view of a CDP service.

crn -> (string)

The service CRN.

environmentCrn -> (string)

The CDP Environment CRN

name -> (string)

The service name.

cloudPlatform -> (string)

The cloud platform of the service.

region -> (string)

The region of the service.

deploymentCount -> (integer)

The deployment count.

minK8sNodeCount -> (integer)

The minimum number of Kubernetes nodes that need to be provisioned in the service

maxK8sNodeCount -> (integer)

The maximum number of kubernetes nodes that service may scale up under high-demand situations

status -> (object)

The status of a DataFlow enabled service.

state -> (string)

The state of the service.

message -> (string)

A status message for the service.

detailedState -> (string)

The detailed state of the service.

workloadVersion -> (string)

The workload version of the service.

runningK8sNodeCount -> (integer)

The number of kubernetes nodes currently running for this service.

instanceType -> (string)

The instance type of the kubernetes nodes currently in use by DataFlow for this service.

dfLocalUrl -> (string)

The URL of the service local DataFlow application.

kubeApiAuthorizedIpRanges -> (array)

The IP Ranges authorized to connect to the Kubernetes API Server.

item -> (string)

activeInfoAlertCount -> (integer)

Current count of active alerts classified as an info

activeWarningAlertCount -> (integer)

Current count of active alerts classified as a warning

activeErrorAlertCount -> (integer)

Current count of active alerts classified as an error

clusterId -> (string)

Cluster id of the service, if enabled

validActions -> (array)

Valid actions that can be applied based on the current state of the service

item -> (string)

usePublicLoadBalancer -> (boolean)

Whether or not a public load balancer is exposed.

tags -> (map)

The tags to apply to service related resources created

key -> (string)

value -> (string)

loadBalancerAuthorizedIpRanges -> (array)

IP Ranges that are authorized to access CDF local endpoints.

item -> (string)

clusterSubnets -> (array)

Subnets to use for the Kubernetes cluster

item -> (string)

creatingK8sNodeCount -> (integer)

The number of kubernetes nodes currently under creation for this service.

terminatingK8sNodeCount -> (integer)

The number of kubernetes nodes currently terminating for this service.

loadBalancerSubnets -> (array)

Subnets to use for the Load Balancer

item -> (string)

privateCluster -> (boolean)

Whether the k8s cluster is private or not.

proxyName -> (string)

The name of the proxy that is configured for the CDP environment

k8sServerVersion -> (string)

The kubernetes version of the cluster

availableK8sVersionUpgrade -> (string)

The available kubernetes version that cluster can be upgraded to.

userDefinedRouting -> (boolean)

Whether User Defined Routing (UDR) mode is enabled for AKS clusters or not.

podCidr -> (string)

CIDR range from which to assign IPs to pods in the kubernetes cluster.

serviceCidr -> (string)

CIDR range from which to assign IPs to internal services in the kubernetes cluster.

Form Factors

public