How to install and connect to Network Multi-tool

Print

Deployment for the network multi-tool

Copy the following deployment YAML content for the network multi-tool and create a file.

Modify the namespace to the one you want to install in.

apiVersion: apps/v1
kind: Deployment
metadata:
  name: network-multitool
  namespace: zcp-system
spec:
  replicas: 1
  selector:
    matchLabels:
      component: network-multitool
  template:
    metadata:
      labels:
        component: network-multitool
      name: network-multitool
    spec:
      containers:
      - name: network-multitool
        image: v2-zcr.cloudzcp.io/library/network-multitool
        imagePullPolicy: Always

Note) To use the above deployment YAML as is, the Kubernetes cluster must be able to access the public internet. If public internet access is not available, pull the above container image and push it to a private registry, then modify the path accordingly.

Installation Method

$ kubectl apply -f network-multitool.yaml

Access Method

You can access and use Linux network tools with the following kubectl command.

$ kubectl exec -it -n zcp-system [network-multitool-pod-id] -- sh

# After connecting, you can use tools like below:
/ # curl
/ # wget
/ # nslookup
/ # netstat

Online consultation

Contact us

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.