Skip to main content

MarkLogic Server on Kubernetes

Network policy

Note

To use network policies, the networking solution used must support NetworkPolicy. Creating a NetworkPolicy resource without a controller that implements it will have no effect. See Prerequisites for further information.

NetworkPolicy can be used to control network traffic flow for applications and to specify how pods should communicate. By default, network policy is disabled in the values.yaml file. To enable it, set the networkPolicy.enabled parameter to true. Default ports are provided in the settings. Custom rules for the sources of the traffic to the desired ports can also be defined.

The default configuration is that ports 8000-8020 are open.

  ports:
    - port: 8000
      endPort: 8020
      protocol: TCP