smm demoapp install

smm demoapp install

Install demo application

Synopsis

Installs demo application.

The command automatically applies the resources. It can only dump the applicable resources with the ‘–dump-resources’ option.

smm demoapp install [flags]

Examples

  # Default install.
  smm demoapp install

  # Install demo application into a non-default namespace.
  smm demoapp install -n smm-system

Options

      --disable-autoscaling        Disable HPA based autoscaling of the demo application's deployments
      --disable-load               Do not start the load generator
  -d, --dump-resources             Dump resources to stdout instead of applying them
  -s, --enabled-services strings   Enabled services of the demo app
  -h, --help                       help for install
      --peer                       The destination cluster is a peer in a multi-cluster mesh
  -r, --replicas uint              Replica count of the deployments (only used if HPA is disabled) (default 1)
      --requests-cpu uint          The demoapp pods' requested cpu shares in millicores (default 40)
      --requests-memory uint       The demoapp pods' requested memory in megabytes (default 64)
      --strict-limits              Set the demoapp pods' limits to match the requests, useful for performance testing

Options inherited from parent commands

      --api-server-endpoint-address string   The publicly accessible address of the k8s api server
      --base-url string                      Custom Service Mesh Manager base URL (uses port forwarding or proxying if empty)
      --cacert string                        The CA to use for verifying Service Mesh Manager's server certificate
      --color                                use colors on non-tty outputs (default true)
      --context string                       name of the kubeconfig context to use
      --controlplane string                  name of the control plane resource to connect to, if not specified, use autodetection
      --demo-namespace string                Namespace for demo application (default "smm-demo")
      --formatting.force-color               force color even when non in a terminal
      --http-proxy string                    http proxy to be used for installing SMM components, format: hostname:port (default: empty, no proxy)
      --interactive                          ask questions interactively even if stdin or stdout is non-tty
      --istio-revision string                Istio control plane revision (format: [istio-resource-name].[namespace])
  -c, --kubeconfig string                    path to the kubeconfig file to use for CLI requests
  -p, --local-port int                       Use this local port for port forwarding / proxying to SMM (when set to 0, a random port will be used) (default -1)
      --no-proxy string                      list of hosts to not to use HTTP proxy for (comma separated list of hostnames and ip subnets)
      --non-interactive                      never ask questions interactively
  -o, --output string                        output format (table|yaml|json) (default "table")
      --persistent-config-file string        Service Mesh Manager persistent config file to use instead of the default at ~/.cisco/smm/
      --resource-wait-timeout duration       The length of time to wait before giving up on waiting for resource conditions to met (default 5m0s)
      --skip-validate-kubeconfig             Skip validating cluster reachability
      --smm-namespace string                 Namespace in which Service Mesh Manager is installed [$SMM_NAMESPACE]
      --token string                         Authentication token to use to communicate with Service Mesh Manager
      --use-portforward                      Use port forwarding instead of proxying to reach Service Mesh Manager
  -v, --verbose                              turn on debug logging

SEE ALSO