istio.io/_docs/reference/istioctl/istioctl_replace.md

1.1 KiB

title overview order layout type
istioctl replace Replace existing policies and rules 11 docs markdown

istioctl replace

Replace existing policies and rules

Synopsis

Example usage:

# Create a rule using the definition in example-routing.yaml.
$ istioctl replace -f example-routing.yaml
istioctl replace

Options

  -f, --file string   Input file with the content of the configuration objects (if not set, command reads from the standard input)

Options inherited from parent commands

  -c, --kubeconfig string                Use a Kubernetes configuration file instead of in-cluster configuration
      --log_backtrace_at traceLocation   when logging hits line file:N, emit a stack trace (default :0)
  -n, --namespace string                 Select a Kubernetes namespace (default "default")
  -v, --v Level                          log level for V logs
      --vmodule moduleSpec               comma-separated list of pattern=N settings for file-filtered logging

SEE ALSO