Install Magalix Agent in a Custom Namespace

Customize Namespace that Magalix Agent Should be installed at

Magalix agent is installed inside kube-system namespace by default. You can change where the target namespace by adjusting the target namespace inside the agent's spec yaml file.

Changing the namespace as shown in the below sample file to be a magalix-agent namespace, line 6, will install the agent in the magalix-agent namespace.

Create custom namespace first

Create the target namespace first if you don't have it already.

kind: Deployment
apiVersion: extensions/v1beta1
metadata:
name: magalix-agent
#Magalix agent is installed in kube-system by default. You can change it to another namespace
namespace: kube-system
labels:
app.kubernetes.io/name: "magalix-agent"
app.kubernetes.io/version: "1"
app.kubernetes.io/component: "magalix-agent"
app.kubernetes.io/tier: "backend"
spec:
replicas: 1
template:
...........