Closed AlexanderSlinkov closed 3 years ago
I found the answer.
The namespace demo-app should have a lable:
[root@helper ~]# oc describe namespace demo-app
Name: demo-app
Labels: f5type=demo-app <-------- this one
Annotations: openshift.io/description:
openshift.io/display-name:
openshift.io/requester: admin
openshift.io/sa.scc.mcs: s0:c24,c19
openshift.io/sa.scc.supplemental-groups: 1000590000/10000
openshift.io/sa.scc.uid-range: 1000590000/10000
Status: Active
No resource quota.
No LimitRange resource.
No I have a question. Is it possible to add a note about this in the article below: https://clouddocs.f5.com/containers/latest/userguide/cis-installation.html?highlight=namespace ?
CIS is configured to monitor resources in namespaces with namespace-label - '--namespace-label=f5type=demo-app'
Please refer to CIS config parameters for more info https://clouddocs.f5.com/containers/latest/userguide/config-parameters.html
Hope this helps.
Yes, yes, that was the problem.
Thanks!
Now the question is the following: Is it possible to add a note about this in the article below: https://clouddocs.f5.com/containers/latest/userguide/cis-installation.html?highlight=namespace ?
As I mentioned previously, I'm new with these technologies and it was not obvious for me.
@AlexanderSlinkov understand the document changes. However, we suggest to review config parameters before configuring CIS. This documents helps end users configure CIS based on their requirements.
@trinaths,
Thanks, I have no more questions.
I think we can close this case.
closing this issue. Thanks @AlexanderSlinkov
Setup Details
CIS Version : 2.5.0
Build: f5networks/k8s-bigip-ctlr:latest
BIGIP Version: Big IP 16.0.1
AS3 Version: 3.29.0-3 Agent Mode: AS3
Orchestration: OSCP
Orchestration Version:
Pool Mode: Cluster
Description
Hi,
I' new with CIS and OpenShift and I need some help to understand what is going on. I configured the CIS according to the article below: https://clouddocs.f5.com/containers/latest/userguide/openshift/ But, in some reason, the CIS does not read OpenShift objects and does not add appropriate changes to F5.
In logs I can't find helpful information.
Steps To Reproduce
1) Configure CIS on Openshift cluster. 2) Configure ingress/crd or something else. 3) List logs of CIS deployment.
Expected Result
Configuration on the F5 device should be changed.
Actual Result
Nothing happens.
Diagnostic Information
Here are the logs from the CIS: