Class RedirectConfig

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<RedirectConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class RedirectConfig
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<RedirectConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    RedirectConfig represents the configuration parameters specific to redirect mode.
    See Also:
    Serialized Form
    • Constructor Detail

      • RedirectConfig

        public RedirectConfig()
        No args constructor for use in serialization
    • Method Detail

      • getFallbackIP

        public String getFallbackIP()
        fallbackIP specifies the remote destination's IP address. Can be IPv4 or IPv6. If no redirect rules are specified, all traffic from the router are redirected to this IP. If redirect rules are specified, then any connections on any other port (undefined in the rules) on the router will be redirected to this IP. If redirect rules are specified and no fallback IP is provided, connections on other ports will simply be rejected.
      • setFallbackIP

        public void setFallbackIP​(String fallbackIP)
        fallbackIP specifies the remote destination's IP address. Can be IPv4 or IPv6. If no redirect rules are specified, all traffic from the router are redirected to this IP. If redirect rules are specified, then any connections on any other port (undefined in the rules) on the router will be redirected to this IP. If redirect rules are specified and no fallback IP is provided, connections on other ports will simply be rejected.
      • getRedirectRules

        public List<L4RedirectRule> getRedirectRules()
        List of L4RedirectRules that define the DNAT redirection from the pod to the destination in redirect mode.
      • setRedirectRules

        public void setRedirectRules​(List<L4RedirectRule> redirectRules)
        List of L4RedirectRules that define the DNAT redirection from the pod to the destination in redirect mode.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)