class K8S::Api::Extensions::V1beta1::IPBlock
- K8S::Api::Extensions::V1beta1::IPBlock
- Reference
- Object
Overview
DEPRECATED 1.9 - This group version of IPBlock is deprecated by [networking/v1/IPBlock. IPBlock describes a particular CIDR (Ex. "192.168.1.1/24") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.](networking/v1/IPBlock. IPBlock describes a particular CIDR (Ex. "192.168.1.1/24") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.)
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.17/api/extensions/v1beta1/ip_block.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, cidr : String, except : Array? = nil)