Register your Node
Regardless of the type of the target environment, you’ll have to register it as a Node in dyrector.
Node setups require admin or sudo privilege. Without that, it's not possible to install dyrector.io's agent on your node in the case of both Docker and Kubernetes.
If you're curious about the install scripts of the agent, you can check them out at the links below:
Step 1: Open Nodes on the left and click ‘Add’ on top right.
Step 2: Enter your Node’s name and select its icon.
Tip: You can write a description so others on your team can understand what’s the purpose of this Node.
Step 3: Click ‘Save’ and select the type of technology your Node uses. You can select
- Docker Host,
- and Kubernetes Cluster.
Docker Host requirements are the following:
- a Linux host/VPS,
- Docker or Podman installed on host,
- ability to execute the script on host.
Kubernetes Cluster requirements are the following:
- a Kubernetes cluster,
- kubectl authenticated, active context selected,
- ability to run these commands.
Users are able to opt-in to install Traefik, as well. In that case they need to add an ACME email address where they'll be updated when their certification expires.
Traefik's Docker instance is only supported on Linux. Further details about it at the official Docker documentation.
Step 4: Depending on your Node's OS, select whether you'd like to generate a shell or a powershell script. Shell scripts are supported to function on Linux Nodes, powershell scripts are designed to be used with Windows nodes.
Step 5: After picking the technology and the script's type, click the ‘Generate script’ button to generate a one-liner script.
Step 6: Run the one-liner in sh or bash.
The one-liner will generate a script that’ll set dyrector.io’s agent up on your Node.
Information and status of your Node will show in the Connection section, so you can see if the setup is successful right away.
Now you're ready to setup your product and one step closer deploy your application.