Profile Resource (profile)

A Profile resource (profile) represents a set of rules which are applied
to the individual endpoints to which this profile has been assigned.

Each Calico endpoint or host endpoint can be assigned to zero or more profiles.

Also see the Policy resource
which provides an alternate way to select what policy is applied to an endpoint.

For calicoctl commands that specify a resource type on the CLI, the following
aliases are supported (all case insensitive): profile, profiles, pro, pros.

Sample YAML

The following sample profile allows all traffic from endpoints that
have the profile label set to profile1 (i.e. endpoints that reference this profile),
except that all traffic from 10.0.20.0/24 is denied.