Namespace Operator Networking API¶
Packages¶
networking.tcs.trifork.com/v1alpha1¶
Package v1alpha1 contains API Schema definitions for the networking v1alpha1 API group
Resource Types¶
- LocalNetworkConfig
- LocalNetworkConfigList
- NetworkConfig
- NetworkConfigList
- NetworkProfile
- NetworkProfileList
LocalNetworkConfig¶
LocalNetworkConfig is the Schema for the localnetworkconfigs API
Appears in: - LocalNetworkConfigList
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string |
networking.tcs.trifork.com/v1alpha1 |
||
kind string |
LocalNetworkConfig |
||
kind string |
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
||
apiVersion string |
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
||
metadata ObjectMeta |
Refer to Kubernetes API documentation for fields of metadata. |
||
spec LocalNetworkConfigSpec |
|||
status LocalNetworkConfigStatus |
LocalNetworkConfigList¶
LocalNetworkConfigList contains a list of LocalNetworkConfig
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string |
networking.tcs.trifork.com/v1alpha1 |
||
kind string |
LocalNetworkConfigList |
||
kind string |
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
||
apiVersion string |
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
||
metadata ListMeta |
Refer to Kubernetes API documentation for fields of metadata. |
||
items LocalNetworkConfig array |
LocalNetworkConfigSpec¶
LocalNetworkConfigSpec defines communication between components inside of namespace
Appears in: - LocalNetworkConfig
| Field | Description | Default | Validation |
|---|---|---|---|
components object (keys:string, values:NetworkConfigComponent) |
Defines the components |
LocalNetworkConfigStatus¶
LocalNetworkConfigStatus defines the observed state of LocalNetworkConfig
Appears in: - LocalNetworkConfig
| Field | Description | Default | Validation |
|---|---|---|---|
conditions Condition array |
NetworkConfig¶
NetworkConfig is the Schema for the networkconfigs API
Appears in: - NetworkConfigList
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string |
networking.tcs.trifork.com/v1alpha1 |
||
kind string |
NetworkConfig |
||
kind string |
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
||
apiVersion string |
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
||
metadata ObjectMeta |
Refer to Kubernetes API documentation for fields of metadata. |
||
spec NetworkConfigSpec |
|||
status NetworkConfigStatus |
NetworkConfigComponent¶
NetworkConfigComponent defines on component specifying identity and communication paths
Appears in: - LocalNetworkConfigSpec - NetworkConfigSpec
| Field | Description | Default | Validation |
|---|---|---|---|
podSelector LabelSelector |
Selects pod(s) constituting the component | ||
namespace string |
Defines namespace of component - only optional for namespaced network configuration | ||
dependsOn NetworkConfigDependency array |
List of components on which this component depends. I.e., this component initiates communication towards these other components on the defined port. |
||
profiles string array |
List of profiles to be enabled for the component |
NetworkConfigDependency¶
NetworkConfigDependency defines dependency on other named component
Appears in: - NetworkConfigComponent
| Field | Description | Default | Validation |
|---|---|---|---|
component string |
Name of component | ||
port IntOrString |
Port on the target component either int or named. | ||
protocol Protocol |
The protocol (TCP, UDP, or SCTP) which traffic must match. |
NetworkConfigList¶
NetworkConfigList contains a list of NetworkConfig
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string |
networking.tcs.trifork.com/v1alpha1 |
||
kind string |
NetworkConfigList |
||
kind string |
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
||
apiVersion string |
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
||
metadata ListMeta |
Refer to Kubernetes API documentation for fields of metadata. |
||
items NetworkConfig array |
NetworkConfigSpec¶
NetworkConfigSpec defines the communication paths
Appears in: - NetworkConfig
| Field | Description | Default | Validation |
|---|---|---|---|
components object (keys:string, values:NetworkConfigComponent) |
Defines the components |
NetworkConfigStatus¶
NetworkConfigStatus defines the observed state of NetworkConfig
Appears in: - NetworkConfig
| Field | Description | Default | Validation |
|---|---|---|---|
conditions Condition array |
NetworkProfile¶
NetworkProfile is the Schema for the networkprofiles API
Appears in: - NetworkProfileList
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string |
networking.tcs.trifork.com/v1alpha1 |
||
kind string |
NetworkProfile |
||
kind string |
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
||
apiVersion string |
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
||
metadata ObjectMeta |
Refer to Kubernetes API documentation for fields of metadata. |
||
spec NetworkProfileSpec |
|||
status NetworkProfileStatus |
NetworkProfileList¶
NetworkProfileList contains a list of NetworkProfile
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string |
networking.tcs.trifork.com/v1alpha1 |
||
kind string |
NetworkProfileList |
||
kind string |
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
||
apiVersion string |
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
||
metadata ListMeta |
Refer to Kubernetes API documentation for fields of metadata. |
||
items NetworkProfile array |
NetworkProfileSpec¶
NetworkProfileSpec defines global network ingress and egress profiles
Appears in: - NetworkProfile
| Field | Description | Default | Validation |
|---|---|---|---|
ingress NetworkPolicyIngressRule array |
List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) |
||
egress NetworkPolicyEgressRule array |
List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 |
NetworkProfileStatus¶
NetworkProfileStatus defines the observed state of NetworkProfile
Appears in: - NetworkProfile