calicoctl apply

    Read the calicoctl command line interface user reference for a full list of calicoctl commands.

    note

    Run calicoctl apply --help to display the following help menu for the command.

    1. Apply two policy resources based on the JSON passed into stdin.

      Results indicate success.

    1. -f --filename=<FILENAME> Filename to use to apply the resource. If set to
    2. "-" loads from stdin.
    3. Only applicable to NetworkPolicy and WorkloadEndpoint.
    4. Uses the default namespace if not specified.

    See also