npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@gdnsl/plugin-compute

v0.0.55

Published

gdnsl plugin for compute commands

Downloads

3

Readme

@gdnsl/plugin-compute

gdnsl plugin for compute commands

Usage

$ npm install -g @gdnsl/plugin-compute
$ @gdnsl/plugin-compute COMMAND
running command...
$ @gdnsl/plugin-compute (--version)
@gdnsl/plugin-compute/0.0.55 darwin-x64 node-v14.20.0
$ @gdnsl/plugin-compute --help [COMMAND]
USAGE
  $ @gdnsl/plugin-compute COMMAND
...

Commands

@gdnsl/plugin-compute configmap create NAME

Create a configMap from a local file, directory or literal value.

USAGE
  $ @gdnsl/plugin-compute configmap create [NAME] [-h] [-r <value>] [-c <value>] [--from-literal <value>] [--file
    <value>]

FLAGS
  -c, --config=<value>
      gdnsl config file (default is ./gdnsl.yaml).

  -h, --help
      Help to create a configmap.

  -r, --regions=<value>...
      List of region names or keywords (LOCAL or ALL). Overrides the region setting in gdnsl.yml config file.

  --file=<value>...
      Key files can be specified using their file path,
      in which case a default name will be given to them,
      or optionally with a name and file path,
      in which case the given name will be used.
      Specifying a directory will iterate each named file
      in the directory that is a valid configmap key.

  --from-literal=<value>...
      Specify a key and literal value to insert in configmap (i.e. mykey=somevalue)

DESCRIPTION
  Create a configMap from a local file, directory or literal value.

EXAMPLES
  # Create a new configmap named my-config with keys for each file in folder bar.
  gdnsl configmap create my-config --file=path/to/bar
 
  # Create a new configmap named my-config with specified keys instead of names on disk.
  gdnsl configmap create my-config --file=ssh-privatekey=~/.ssh/id_rsa --file=ssh-publickey=~/.ssh/id_rsa.pub
 
  # Create a new configMap named my-c onfig with key1=config1 and key2=config2.
  gdnsl configmap create my-config --from-literal=key1=config1 --from-literal=key2=config2

@gdnsl/plugin-compute configmap delete NAME

Delete a configmap.

USAGE
  $ @gdnsl/plugin-compute configmap delete [NAME] [-c <value>] [-r <value>] [-h] [-o json|yaml] [-v <value>]

FLAGS
  -c, --config=<value>   gdnsl config file (default is ./gdnsl.yaml).
  -h, --help             Help to delete a configmap.
  -o, --output=<option>  [default: json] Output format. One of: json|yaml
                         <options: json|yaml>
  -r, --regions=<value>  List of region names or keywords (LOCAL or ALL). Overrides the region setting in gdnsl.yml
                         config file.
  -v, --verbose=<value>  More output.

DESCRIPTION
  Delete a configmap.

EXAMPLES
  # Delete configmap 'my-config'
  gdnsl configmap delete my-config

@gdnsl/plugin-compute configmap describe NAME

Describe a configmap.

USAGE
  $ @gdnsl/plugin-compute configmap describe [NAME] [-c <value>] [-r <value>] [-h] [-o json|yaml] [-v <value>]

FLAGS
  -c, --config=<value>      gdnsl config file (default is ./gdnsl.yaml).
  -h, --help                Help to describe a configmap.
  -o, --output=(json|yaml)  Output format. One of: json|yaml
  -r, --regions=<value>     List of region names or keywords (LOCAL or ALL). Overrides the region setting in gdnsl.yml
                            config file.
  -v, --verbose=<value>     More output.

DESCRIPTION
  Describe a configmap.

EXAMPLES
  # Describe details of game-config configmap.
  gdnsl configmap describe game-config

@gdnsl/plugin-compute configmap list

List all configmaps.

USAGE
  $ @gdnsl/plugin-compute configmap list [-c <value>] [-r <value>] [-h] [-o json|yaml] [-v <value>]

FLAGS
  -c, --config=<value>      gdnsl config file (default is ./gdnsl.yaml)
  -h, --help                Help to list all configmaps.
  -o, --output=(json|yaml)  Output format. One of: json|yaml
  -r, --regions=<value>     List of region names or keywords (LOCAL or ALL). Overrides the region setting in gdnsl.yml
                            config file.
  -v, --verbose=<value>     More output.

DESCRIPTION
  List all configmaps.

EXAMPLES
  # List all configmaps
  gdnsl configmap list

@gdnsl/plugin-compute configmap update NAME

Update a configmap.

USAGE
  $ @gdnsl/plugin-compute configmap update [NAME] --from-literal <value> [-h] [-r <value>] [-c <value>]

FLAGS
  -c, --config=<value>       gdnsl config file (default is ./gdnsl.yaml).
  -h, --help                 Help to update a configmap.
  -r, --regions=<value>...   List of region names or keywords (LOCAL or ALL). Overrides the region setting in gdnsl.yml
                             config file.
  --from-literal=<value>...  (required) Specify a key and literal value to insert in secret (i.e. mykey=somevalue).

DESCRIPTION
  Update a configmap.

@gdnsl/plugin-compute help [COMMAND]

Display help for @gdnsl/plugin-compute.

USAGE
  $ @gdnsl/plugin-compute help [COMMAND] [-n]

ARGUMENTS
  COMMAND  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for @gdnsl/plugin-compute.

See code: @oclif/plugin-help

@gdnsl/plugin-compute revision delete NAME

Delete a revision.

USAGE
  $ @gdnsl/plugin-compute revision delete [NAME] [-h] [-r <value>] [-c <value>] [-l <value>]

FLAGS
  -c, --config=<value>      gdnsl config file (default is ./gdnsl.yaml)
  -h, --help                Help to delete a revision.
  -l, --log=<value>         Log http traffic.
  -r, --regions=<value>...  List of region names or keywords (LOCAL or ALL). Overrides the region setting in gdnsl.yml
                            config file.

DESCRIPTION
  Delete a revision.

EXAMPLES
  # Delete a revision 'svc1-abcde'
  gdnsl revision delete svc1-abcde

@gdnsl/plugin-compute revision describe NAME

Describe a revision.

USAGE
  $ @gdnsl/plugin-compute revision describe [NAME] [-h] [-r <value>] [--allow-missing-template-keys <value>] [-c
    <value>] [-o json|yaml] [-v <value>] [-l <value>]

FLAGS
  -c, --config=<value>                   gdnsl config file (default is ./gdnsl.yaml)
  -h, --help                             Help to describe a revision.
  -l, --log=<value>                      Log http traffic.
  -o, --output=(json|yaml)               Output format. One of: json|yaml
  -r, --regions=<value>...               List of region names or keywords (LOCAL or ALL). Overrides the region setting
                                         in gdnsl.yml config file.
  -v, --verbose=<value>                  More output.
  --allow-missing-template-keys=<value>  If true, ignore any errors in templates when a field or map key is missing in
                                         the template. Only applies to golang and jsonpath output formats. (default
                                         true)

DESCRIPTION
  Describe a revision.

EXAMPLES
  # Describe a revision 'svc1-abcde'
  gdnsl revision describe svc1-abcde

@gdnsl/plugin-compute revision list

List all revisions.

USAGE
  $ @gdnsl/plugin-compute revision list [-h] [--no-headers] [-r <value>] [-c <value>] [-s <value>] [-o json|yaml]
    [-l <value>]

FLAGS
  -c, --config=<value>      gdnsl config file (default is ./gdnsl.yaml)
  -h, --help                Help to list revisions.
  -l, --log=<value>         log http traffic
  -o, --output=(json|yaml)  Output format. One of: json|yaml
  -r, --regions=<value>...  List of region names or keywords (LOCAL or ALL). Overrides the region setting in gdnsl.yml
                            config file.
  -s, --service=<value>     Service name.
  --no-headers              When using the default output, don't print headers.

DESCRIPTION
  List all revisions.

EXAMPLES
  # List all revisions.
  gdnsl revision list
 
  # List revisions for a service 'svc1'.
  gdnsl revision list -s svc1
 
  # List all revisions in JSON output format.
  gdnsl revision list -o json
 
  # List revision 'web'.
  gdnsl revision list web

@gdnsl/plugin-compute route describe NAME

Describe a route.

USAGE
  $ @gdnsl/plugin-compute route describe [NAME] [-h] [-r <value>] [-c <value>] [-o json|yaml] [-l <value>]

FLAGS
  -c, --config=<value>      gdnsl config file (default is ./gdnsl.yaml)
  -h, --help                Help to describe a route.
  -l, --log=<value>         Log http traffic.
  -o, --output=(json|yaml)  Output format. One of: json|yaml
  -r, --regions=<value>...  List of region names or keywords (LOCAL or ALL). Overrides the region setting in gdnsl.yml
                            config file.

DESCRIPTION
  Describe a route.

EXAMPLES
  # Describe route 'route1'.
  gdnsl route describe route1

@gdnsl/plugin-compute route list [NAME]

List all routes.

USAGE
  $ @gdnsl/plugin-compute route list [NAME] [-h] [--no-headers] [-r <value>] [-c <value>] [-o json|yaml] [-l
    <value>]

FLAGS
  -c, --config=<value>      gdnsl config file (default is ./gdnsl.yaml)
  -h, --help                Help to list routes
  -l, --log=<value>         log http traffic
  -o, --output=(json|yaml)  Output format. One of: json|yaml
  -r, --regions=<value>...  List of region names or keywords (LOCAL or ALL). Overrides the region setting in gdnsl.yml
                            config file.
  --no-headers              When using the default output, don't print headers.

DESCRIPTION
  List all routes.

EXAMPLES
  # List all routes.
  gdnsl route list
 
  # List route 'web'.
  gdnsl route list web
 
  # List all routes in yaml format.
  gdnsl route list -o yaml

@gdnsl/plugin-compute secret create docker-registry NAME

Create a docker registry secret.

USAGE
  $ @gdnsl/plugin-compute secret create docker-registry [NAME] --server <value> --email <value> --username <value> --password
    <value> [-h] [-r <value>] [-c <value>]

FLAGS
  -c, --config=<value>      gdnsl config file (default is ./gdnsl.yaml).
  -h, --help                Help to create docker-registry a secret.
  -r, --regions=<value>...  List of region names or keywords (LOCAL or ALL). Overrides the region setting in gdnsl.yml
                            config file.
  --email=<value>           (required) Email for docker registry.
  --password=<value>        (required) Password for docker registry authentication.
  --server=<value>          (required) Server location for docker registry.
  --username=<value>        (required) Username for docker registry authentication.

DESCRIPTION
  Create a docker registry secret.

EXAMPLES
  # Create a docker-registry secret.
  gdnsl secret create docker-registry my-secret --server=DOCKER_REGISTRY_SERVER --username=DOCKER_USER --password=DOCKER_PASSWORD --email=DOCKER_EMAIL

@gdnsl/plugin-compute secret create generic NAME

Create a generic secret from a local file, directory or literal value.

USAGE
  $ @gdnsl/plugin-compute secret create generic [NAME] [-h] [-r <value>] [-c <value>] [--from-literal <value>] [--file
    <value>]

FLAGS
  -c, --config=<value>
      gdnsl config file (default is ./gdnsl.yaml).

  -h, --help
      Help to create a generic secret.

  -r, --regions=<value>...
      List of region names or keywords (LOCAL or ALL). Overrides the region setting in gdnsl.yml config file.

  --file=<value>...
      Key files can be specified using their file path,
      in which case a default name will be given to them,
      or optionally with a name and file path,
      in which case the given name will be used.
      Specifying a directory will iterate each named file
      in the directory that is a valid secret key.

  --from-literal=<value>...
      Specify a key and literal value to insert in secret (i.e. mykey=somevalue).

DESCRIPTION
  Create a generic secret from a local file, directory or literal value.

EXAMPLES
  # Create a new secret named my-secret with keys for each file in folder bar.
  gdnsl secret create generic my-secret --file=/path/to/bar
 
  # Create a new secret named my-secret with specified keys instead of names on disk.
  gdnsl secret create generic my-secret --file=ssh-privatekey=/.ssh/id_rsa --file=ssh-publickey=/.ssh/id_rsa.pub
 
  # Create a new secret named my-secret with key1=supersecret and key2=topsecret.
  gdnsl secret create generic my-secret --from-literal=key1=supersecret --from-literal=key2=topsecret

@gdnsl/plugin-compute secret delete NAME

Delete a secret.

USAGE
  $ @gdnsl/plugin-compute secret delete [NAME] [-h] [-r <value>] [-c <value>]

FLAGS
  -c, --config=<value>      gdnsl config file (default is ./gdnsl.yaml).
  -h, --help                Help to delete a secret.
  -r, --regions=<value>...  List of region names or keywords (LOCAL or ALL). Overrides the region setting in gdnsl.yml
                            config file.

DESCRIPTION
  Delete a secret.

EXAMPLES
  # Delete secret.
  gdnsl secret delete db-user-pass

@gdnsl/plugin-compute secret describe NAME

Describe a secret.

USAGE
  $ @gdnsl/plugin-compute secret describe [NAME] [-h] [-r <value>] [-c <value>] [-o json|yaml]

FLAGS
  -c, --config=<value>      gdnsl config file (default is ./gdnsl.yaml).
  -h, --help                Help to describe a secret.
  -o, --output=(json|yaml)  Output format. One of: json|yaml
  -r, --regions=<value>...  List of region names or keywords (LOCAL or ALL). Overrides the region setting in gdnsl.yml
                            config file.

DESCRIPTION
  Describe a secret.

EXAMPLES
  # Describe secret.
  gdnsl secret describe db-user-pass

@gdnsl/plugin-compute secret list

List all secrets.

USAGE
  $ @gdnsl/plugin-compute secret list [-c <value>] [-r <value>] [-h] [-o json|yaml] [-v <value>]

FLAGS
  -c, --config=<value>      gdnsl config file (default is ./gdnsl.yaml)
  -h, --help                Help to list all secrets.
  -o, --output=(json|yaml)  Output format. One of: json|yaml
  -r, --regions=<value>     List of region names or keywords (LOCAL or ALL). Overrides the region setting in gdnsl.yml
                            config file.
  -v, --verbose=<value>     More output.

DESCRIPTION
  List all secrets.

EXAMPLES
  # Get secrets.
  gdnsl secret get 
  # To view the contents of the Secret you created, run the following command:
  gdnsl secret get db-user-pass -o jsonpath='{.data}'

@gdnsl/plugin-compute secret update NAME

Update a secret.

USAGE
  $ @gdnsl/plugin-compute secret update [NAME] --server <value> --email <value> --username <value> --password
    <value> [-h] [-r <value>] [-c <value>]

FLAGS
  -c, --config=<value>      gdnsl config file (default is ./gdnsl.yaml).
  -h, --help                Help to update a secret.
  -r, --regions=<value>...  List of region names or keywords (LOCAL or ALL). Overrides the region setting in gdnsl.yml
                            config file.
  --email=<value>           (required) Email for docker registry.
  --password=<value>        (required) Password for docker registry authentication.
  --server=<value>          (required) Server location for docker registry.
  --username=<value>        (required) Username for docker registry authentication.

DESCRIPTION
  Update a secret.

EXAMPLES
  # Update secret.
  gdnsl secret update db-user-pass

@gdnsl/plugin-compute service create NAME

create a service

USAGE
  $ @gdnsl/plugin-compute service create [NAME] --image <value> [-h] [-r <value>] [-c <value>] [--arg <value>]
    [--autoscale-window <value>] [--annotation <value>] [--cmd <value>] [-e <value>] [--env-from <value>] [-f] [--label
    <value>] [--concurrency-limit <value>] [--concurrency-target <value>] [--concurrency-utilization <value>]
    [--pull-secret <value>] [--wait] [--no-wait] [--wait-timeout <value>] [--scale-init <value>] [--scale-max <value>]
    [--scale-min <value>] [--limits-cpu <value>] [--limits-memory <value>] [--requests-cpu <value>] [--requests-memory
    <value>] [--revision-name <value>] [--mount <value>] [--volume <value>] [--lock-to-digest] [--no-lock-to-digest] [-p
    <value>]

FLAGS
  -c, --config=<value>
      gdnsl config file (default is ./gdnsl.yaml).

  -e, --env=<value>...
      Environment variable to set. NAME=value; you may provide this flag any number of times to set multiple environment
      variables. To unset, specify the environment variable name followed by a "-" (e.g., NAME-).

  -f, --force
      Create service forcefully, replaces existing service if any.

  -h, --help
      Help to create a service.

  -p, --port=<value>
      The port where application listens on.

  -r, --regions=<value>...
      List of region names or keywords (LOCAL or ALL). Overrides the region setting in gdnsl.yml config file.

  --annotation=<value>...
      Service annotation to set. name=value; you may provide this flag any number of times to set multiple annotations. To
      unset, specify the annotation name followed by a "-" (e.g., name-)

  --arg=<value>...
      Arguments for the service

  --autoscale-window=<value>
      Duration to look back for making auto-scaling decisions. The service is scaled to zero if no request was received in
      during that time. (eg: 10s)

  --cmd=<value>
      commands for the service

  --concurrency-limit=<value>
      Hard Limit of concurrent requests to be processed by a single replica.

  --concurrency-target=<value>
      Recommendation for when to scale up based on the concurrent number of incoming request. Defaults to
      --concurrency-limit when given.

  --concurrency-utilization=<value>
      Percentage of concurrent requests utilization before scaling up. (default 70)

  --env-from=<value>...
      Add environment variables from a ConfigMap (prefix cm: or config-map:) or a Secret (prefix secret:). Example:
      --env-from cm:myconfigmap or --env-from secret:mysecret. You can use this flag multiple times. To unset a
      ConfigMap/Secret reference, append "-" to the name, e.g. --env-from cm:myconfigmap-.

  --image=<value>
      (required) Image to run.

  --label=<value>...
      Service label to set. name=value; you may provide this flag any number of times to set multiple labels. To unset,
      specify the label name followed by a "-" (e.g., name-).

  --limits-cpu=<value>
      The limits on the requested CPU, specified as millicpu/millicores.

  --limits-memory=<value>
      The limits on the requested memory, specified as mebibytes

  --lock-to-digest
      Keep the running image for the service constant when not explicitly specifying the image. (--no-lock-to-digest pulls
      the image tag afresh with each new revision) (default true).

  --mount=<value>...
      Mount a ConfigMap (prefix cm: or config-map:), a Secret (prefix secret: or sc:), or an existing Volume (without any
      prefix) on the specified directory. Example: --mount /mydir=cm:myconfigmap, --mount /mydir=secret:mysecret, or
      --mount /mydir=myvolume. When a configmap or a secret is specified, a corresponding volume is automatically
      generated. You can use this flag multiple times. For unmounting a directory, append "-", e.g. --mount /mydir-, which
      also removes any auto-generated volume.

  --no-lock-to-digest
      Do not keep the running image for the service constant when not explicitly specifying the image.

  --no-wait
      Create service and don't wait for it to become ready.

  --pull-secret=<value>
      Image pull secret to set. An empty argument ("") clears the pull secret. The referenced secret must exist in the
      service's namespace.

  --requests-cpu=<value>
      The requested CPU, specified as millicpu/millicores.

  --requests-memory=<value>
      The requested memory, specified as mebibytes.

  --revision-name=<value>
      The revision name to set. Must start with the service name and a dash as a prefix. Empty revision name will result
      in the server generating a name for the revision.

  --scale-init=<value>
      Initial number of replicas.

  --scale-max=<value>
      Maximal number of replicas.

  --scale-min=<value>
      Minimal number of replicas.

  --volume=<value>...
      Add a volume from a ConfigMap (prefix cm: or config-map:) or a Secret (prefix secret: or sc:). Example: --volume
      myvolume=cm:myconfigmap or --volume myvolume=secret:mysecret. You can use this flags multiple times. To unset a
      ConfigMap/Secret reference, append "-" to the name, e.g. --volume myvolume-.

  --wait
      Wait for "service create" operation to be completed.

  --wait-timeout=<value>
      Seconds to wait before giving up on waiting for service to be ready.

DESCRIPTION
  create a service

EXAMPLES
  # Create a service 'mysvc' using image "docker/getting-started".
    gdnsl service create mysvc --image "docker/getting-started"
 
  # Create a service with multiple environment variables.
    gdnsl service create mysvc --env "KEY1=VALUE1" --env "KEY2=VALUE2" --image "docker/getting-started"
 
  # Create or replace 's1' service with image "docker/getting-started" using --force flag
  # if service 's1' doesn't exist, it's just a normal create operation
    gdnsl service create s1 --force --image "docker/getting-started"
 
  # Create or replace environment variables of service 's1' using --force flag.
    gdnsl service create s1 --force--env "KEY1=NEW_VALUE1" --env "NEW_KEY2=NEW_VALUE2" --image "docker/getting-started"
 
  # Create service 'mysvc' with port 80.
    gdnsl service create mysvc --port 80 --image "docker/getting-started"
 
  # Create or replace default resources of a service 's1' using --force flag
  # (earlier configured resource requests and limits will be replaced with default)
  # (earlier configured environment variables will be cleared too if any)
    gdnsl service create s1 --force --image "docker/getting-started"
 
  # Create a service with annotation.
    gdnsl service create s1 --image "docker/getting-started" --annotation "sidecar.istio.io/inject=false"

@gdnsl/plugin-compute service delete NAME

Delete a service.

USAGE
  $ @gdnsl/plugin-compute service delete [NAME] [-h] [-r <value>] [-c <value>] [-l <value>]

FLAGS
  -c, --config=<value>      gdnsl config file (default is ./gdnsl.yaml).
  -h, --help                Help to delete a service.
  -l, --log=<value>         Log http traffic.
  -r, --regions=<value>...  List of region names or keywords (LOCAL or ALL). Overrides the region setting in gdnsl.yml
                            config file.

DESCRIPTION
  Delete a service.

EXAMPLES
  # Delete a service 'svc1' in tenant namespace.
  gdnsl service delete svc1

@gdnsl/plugin-compute service describe NAME

Describe a service.

USAGE
  $ @gdnsl/plugin-compute service describe [NAME] [-h] [-r <value>] [-c <value>] [--allow-missing-template-keys
    <value>] [-o json|yaml] [-v <value>] [-l <value>]

FLAGS
  -c, --config=<value>                   gdnsl config file (default is ./gdnsl.yaml).
  -h, --help                             Help to describe a service.
  -l, --log=<value>                      Log http traffic.
  -o, --output=(json|yaml)               Output format. One of: json|yaml
  -r, --regions=<value>...               List of region names or keywords (LOCAL or ALL). Overrides the region setting
                                         in gdnsl.yml config file.
  -v, --verbose=<value>                  More output.
  --allow-missing-template-keys=<value>  If true, ignore any errors in templates when a field or map key is missing in
                                         the template. Only applies to golang and jsonpath output formats. (default
                                         true)

DESCRIPTION
  Describe a service.

EXAMPLES
  # Describe a service 'svc1' in tenant namespace.
  gdnsl service describe svc1

@gdnsl/plugin-compute service list

List all services.

USAGE
  $ @gdnsl/plugin-compute service list [-h] [-r <value>] [-c <value>] [--allow-missing-template-keys <value>] [-o
    json|yaml] [-v <value>] [-l <value>]

FLAGS
  -c, --config=<value>                   gdnsl config file (default is ./gdnsl.yaml).
  -h, --help                             Help to list all services.
  -l, --log=<value>                      Log http traffic.
  -o, --output=(json|yaml)               Output format. One of: json|yaml
  -r, --regions=<value>...               List of region names or keywords (LOCAL or ALL). Overrides the region setting
                                         in gdnsl.yml config file.
  -v, --verbose=<value>                  More output.
  --allow-missing-template-keys=<value>  If true, ignore any errors in templates when a field or map key is missing in
                                         the template. Only applies to golang and jsonpath output formats. (default
                                         true)

DESCRIPTION
  List all services.

EXAMPLES
  # List all services.
  gdnsl service list
 
  # List all services in JSON output format.
  gdnsl service list -o json
 
  # List service 'web'.
  gdnsl service list web

@gdnsl/plugin-compute service update NAME

Update a service.

USAGE
  $ @gdnsl/plugin-compute service update [NAME] [-h] [-r <value>] [-c <value>] [--image <value>] [--arg <value>]
    [--autoscale-window <value>] [--annotation <value>] [--cmd <value>] [-e <value>] [--env-from <value>] [--label
    <value>] [--concurrency-limit <value>] [--concurrency-target <value>] [--concurrency-utilization <value>]
    [--pull-secret <value>] [--wait] [--no-wait] [--wait-timeout <value>] [--scale-init <value>] [--scale-max <value>]
    [--scale-min <value>] [--limits-cpu <value>] [--limits-memory <value>] [--requests-cpu <value>] [--requests-memory
    <value>] [--revision-name <value>] [--traffic <value>] [--mount <value>] [-p <value>] [--volume <value>]
    [--lock-to-digest] [--no-lock-to-digest] [--tag <value>] [--untag <value>]

FLAGS
  -c, --config=<value>
      gdnsl config file (default is ./gdnsl.yaml)

  -e, --env=<value>...
      Environment variable to set. NAME=value; you may provide this flag any number of times to set multiple environment
      variables. To unset, specify the environment variable name followed by a "-" (e.g., NAME-).

  -h, --help
      Help to update a service

  -p, --port=<value>
      The port where application listens on.

  -r, --regions=<value>...
      List of region names or keywords (LOCAL or ALL). Overrides the region setting in gdnsl.yml config file.

  --annotation=<value>...
      Service annotation to set. name=value; you may provide this flag any number of times to set multiple annotations. To
      unset, specify the annotation name followed by a "-" (e.g., name-)

  --arg=<value>...
      Arguments for the service

  --autoscale-window=<value>
      Duration to look back for making auto-scaling decisions. The service is scaled to zero if no request was received in
      during that time. (eg: 10s)

  --cmd=<value>
      commands for the service

  --concurrency-limit=<value>
      Hard Limit of concurrent requests to be processed by a single replica.

  --concurrency-target=<value>
      Recommendation for when to scale up based on the concurrent number of incoming request. Defaults to
      --concurrency-limit when given.

  --concurrency-utilization=<value>
      Percentage of concurrent requests utilization before scaling up. (default 70)

  --env-from=<value>...
      Add environment variables from a ConfigMap (prefix cm: or config-map:) or a Secret (prefix secret:). Example:
      --env-from cm:myconfigmap or --env-from secret:mysecret. You can use this flag multiple times. To unset a
      ConfigMap/Secret reference, append "-" to the name, e.g. --env-from cm:myconfigmap-.

  --image=<value>
      Image to run.

  --label=<value>...
      Service label to set. name=value; you may provide this flag any number of times to set multiple labels. To unset,
      specify the label name followed by a "-" (e.g., name-).

  --limits-cpu=<value>
      The limits on the requested CPU, specified as millicpu/millicores.

  --limits-memory=<value>
      The limits on the requested memory, specified as mebibytes

  --lock-to-digest
      Keep the running image for the service constant when not explicitly specifying the image. (--no-lock-to-digest pulls
      the image tag afresh with each new revision) (default true).

  --mount=<value>...
      Mount a ConfigMap (prefix cm: or config-map:), a Secret (prefix secret: or sc:), or an existing Volume (without any
      prefix) on the specified directory. Example: --mount /mydir=cm:myconfigmap, --mount /mydir=secret:mysecret, or
      --mount /mydir=myvolume. When a configmap or a secret is specified, a corresponding volume is automatically
      generated. You can use this flag multiple times. For unmounting a directory, append "-", e.g. --mount /mydir-, which
      also removes any auto-generated volume.

  --no-lock-to-digest
      Do not keep the running image for the service constant when not explicitly specifying the image.

  --no-wait
      Create service and don't wait for it to become ready.

  --pull-secret=<value>
      Image pull secret to set. An empty argument ("") clears the pull secret. The referenced secret must exist in the
      service's namespace.

  --requests-cpu=<value>
      The requested CPU, specified as millicpu/millicores.

  --requests-memory=<value>
      The requested memory, specified as mebibytes.

  --revision-name=<value>
      The revision name to set. Must start with the service name and a dash as a prefix. Empty revision name will result
      in the server generating a name for the revision.

  --scale-init=<value>
      Initial number of replicas.

  --scale-max=<value>
      Maximal number of replicas.

  --scale-min=<value>
      Minimal number of replicas.

  --tag=<value>...
      Set tag (format: --tag revisionRef=tagName) where revisionRef can be a revision or '@latest' string representing
      latest ready revision. This flag can be specified multiple times.

  --traffic=<value>...
      Set traffic distribution (format: --traffic revisionRef=percent) where revisionRef can be a revision or a tag or
      '@latest' string representing latest ready revision. This flag can be given multiple times with percent summing up
      to 100%.

  --untag=<value>...
      Untag revision (format: --untag tagName). This flag can be specified multiple times.

  --volume=<value>...
      Add a volume from a ConfigMap (prefix cm: or config-map:) or a Secret (prefix secret: or sc:). Example: --volume
      myvolume=cm:myconfigmap or --volume myvolume=secret:mysecret. You can use this flags multiple times. To unset a
      ConfigMap/Secret reference, append "-" to the name, e.g. --volume myvolume-.

  --wait
      Wait for "service update" operation to be completed.

  --wait-timeout=<value>
      Seconds to wait before giving up on waiting for service to be ready.

DESCRIPTION
  Update a service.

EXAMPLES
  # Updates a service 'svc' with new environment variables.
  gdnsl service update svc --env "KEY1=VALUE1" --env "KEY2=VALUE2"
 
  # Update a service 'svc' with new port.
  gdnsl service update svc --port 80
 
  # Updates a service 'svc' with new requests and limits parameters.
  gdnsl service update svc --requests-cpu 500m --limits-memory 1024Mi 
 
  # Assign tag 'latest' and 'stable' to revisions 'echo-v2' and 'echo-v1' respectively.
  gdnsl service update svc --tag "echo-v2=latest" --tag "echo-v1=stable"
  OR
  gdnsl service update svc --tag "echo-v2=latest,echo-v1=stable"
 
  # Update tag from 'testing' to 'staging' for latest ready revision of service.
  gdnsl service update svc --untag testing --tag "@latest=staging"
 
  # Add tag 'test' to echo-v3 revision with 10% traffic and rest to latest ready revision of service.
  gdnsl service update svc --tag "echo-v3=test" --traffic "test=10,@latest=90"

@gdnsl/plugin-compute status CMDID

Describe status of a previously executed command.

USAGE
  $ @gdnsl/plugin-compute status [CMDID] [-c <value>] [-r <value>] [-h]

FLAGS
  -c, --config=<value>      gdnsl config file (default is ./gdnsl.yaml)
  -h, --help                Show CLI help.
  -r, --regions=<value>...  List of region names or keywords (LOCAL or ALL). Overrides the region setting in gdnsl.yml
                            config file.

DESCRIPTION
  Describe status of a previously executed command.

EXAMPLES
      # Describe status with id ad0d0a1a-41b7-4136-b0e8-3ead236ed468
        gdnsl status ad0d0a1a-41b7-4136-b0e8-3ead236ed468

See code: dist/commands/status.ts