02 May 2024 09:11 AM - last edited on 18 Jul 2024 12:12 PM by Michal_Gebacki
Hi,
A single k8s cluster environment consists of two projects configured as node pools. Each project belongs to different purchasing departments and they wish to have separate monitoring.
Is there a good idea?
Regards,
Sangjun
Solved! Go to Solution.
02 May 2024 09:17 AM
Hello @sjkim
You can create two management zones to include node pools and all associated entities.
Regards,
Babar
02 May 2024 09:26 AM
There's an issue with the department responsible for purchasing licenses. Each department operates different managed servers. What they want to know is if it's possible to route the two projects to different managed servers.
Regards,
Sangjun
02 May 2024 09:38 AM
Hello @sjkim
In this case, you can create two environments and assign the license quota, but I do not know how to distribute the Dynatrace cluster nodes from a single Cluster for a particular project.
Regards,
Babar
02 May 2024 11:54 AM
Hello @sjkim,
I think this could be achieved by using two different dynakubes and specify nodeSelector parameter, the node selector that controls on which nodes OneAgent will be deployed, of course, you need to change URL, api-token, images, ...etc
Best Regards,
Mohamed
06 Sep 2024 07:26 PM
Hi @Mohamed_Hamdy
Can you tell me if I can use the same dynakube yaml to segregate the hostgroups? I have 10 nodepools and need to set the hostgroup accordingly. Can you tell me if I can do something like below?
oneAgent:
cloudNativeFullStack:
# Aplica o OneAgent no nodepool brsanpiautb (Nodepool 1)
nodeSelector:
agentpool: "brsanpiautb"
args:
- --set-host-group=Nodepool-1
image: ""
oneAgent:
cloudNativeFullStack:
# Aplica o OneAgent no nodepool brsanpiautg (Nodepool 2)
nodeSelector:
agentpool: "brsanpiautg"
args:
- --set-host-group=Nodepool-2
image: ""
activeGate:
capabilities:
- routing
- kubernetes-monitoring
- dynatrace-api
image: ""
resources:
requests:
cpu: 500m
memory: 512Mi
limits:
cpu: 1000m
memory: 1.5Gi