Closed Azaretdodo closed 2 years ago
Hey @Azaretdodo,
To apply the changes to the cluster you need to use kubectl apply
command. Please wrap you spec like this:
cat <<EOF | kubectl apply -f -
apiVersion: atlas.mongodb.com/v1
kind: AtlasProject
metadata:
name: my-project
spec:
name: TestAtlasOperatorProjectIntegration3
projectIpAccessList:
- ipAddress: "0.0.0.0/1"
comment: "Everyone has access. For the test purpose only."
- ipAddress: "128.0.0.0/1"
comment: "Everyone has access. For the test purpose only."
integrations:
- type: "DATADOG"
apiKeyRef:
name: the-datadog-key
namespace: "mongodb-atlas-system"
region: "US"
EOF
Let me know if this won't help. Thanks 🙏
i got the error of firewall :
cat <<EOF | kubectl apply -f -
apiVersion: atlas.mongodb.com/v1
kind: AtlasProject
metadata:
name: my-project
spec:
name: TestAtlasOperatorProjectIntegration3
connectionSecretRef:
name: my-atlas-key
projectIpAccessList:
- ipAddress: "0.0.0.0/1"
comment: "Everyone has access. For the test purpose only."
- ipAddress: "128.0.0.0/1"
comment: "Everyone has access. For the test purpose only."
integrations:
- type: "DATADOG"
apiKeyRef:
name: key-datadog
namespace: key-namespace
region: "FR"
EOF
The connection to the server localhost:8080 was refused - did you specify the right host or port?
unfornately now i got the error of firewall,
thanks you in advance for your help,
Regards.
Azaretdodo.
Ok, @Azaretdodo
Please make sure you have a running k8s cluster. This thread might help you.
This is myself in the thread finally instead answer aside answer my problems because the error localhost forbidden is to back often,
Azatetdodo.
From: Anton @.> Sent: Thursday, August 25, 2022 12:01:11 PM To: mongodb/mongodb-atlas-kubernetes @.> Cc: Azaretdodo @.>; Mention @.> Subject: Re: [mongodb/mongodb-atlas-kubernetes] localhost unable for database datadog sample (Issue #653)
Ok, @Azaretdodohttps://github.com/Azaretdodo
Please make sure you have a running k8s cluster. This threadhttps://github.com/mongodb/mongodb-atlas-kubernetes/issues/641 might help you.
— Reply to this email directly, view it on GitHubhttps://github.com/mongodb/mongodb-atlas-kubernetes/issues/653#issuecomment-1227048614, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHJN3IPV7ZOMRIXMOKMRVWDV2476PANCNFSM57MEG2EA. You are receiving this because you were mentioned.Message ID: @.***>
I know It's you in the thread and instructions on how to launch the k8s cluster are there. Also keep in mind that your local k8s cluster setup is out of the scope of the operator and having a running k8s cluster is one of the prerequisites.
Here is a quick-start guide for kind: https://kind.sigs.k8s.io/docs/user/quick-start/
Anton,
I use only kubernetes near mongodb and I have ever the cluster from your readme too the datadog sample is too a cluster finally you don't understand the localhost firewall forbidden is a security problems unfortunately your readme bring the cluster but I happen the firewall problem often,
Azatetdodo.
From: Anton @.> Sent: Thursday, August 25, 2022 12:40:34 PM To: mongodb/mongodb-atlas-kubernetes @.> Cc: Azaretdodo @.>; Mention @.> Subject: Re: [mongodb/mongodb-atlas-kubernetes] localhost unable for database datadog sample (Issue #653)
I know It's you in the thread and instructions on how to launch the k8s cluster are there. Also keep in mind that your local k8s cluster setup is out of the scope of the operator and having a running k8s cluster is one of the prerequisites.
Here is a quick-start guide for kindhttps://kind.sigs.k8s.io/: https://kind.sigs.k8s.io/docs/user/quick-start/
— Reply to this email directly, view it on GitHubhttps://github.com/mongodb/mongodb-atlas-kubernetes/issues/653#issuecomment-1227087486, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHJN3IIKD7HDWW7ISONJ6P3V25ESFANCNFSM57MEG2EA. You are receiving this because you were mentioned.Message ID: @.***>
Thanks you in advance to help myself repaire the problems
Hey, not sure how to help here. I suggest you to ask the community forums. https://www.mongodb.com/community/forums/
People there might've faced similar issues.
Thanks 🙏
What did you do to encounter the bug? Steps to reproduce the behavior:
What did you expect? A clear and concise description of what you expected to happen. the database datadog should be upload
What happened instead? A clear and concise description of what happened instead : i got an error of firewall
Screenshots If applicable, add screenshots to help explain your problem.
Operator Information
kubernetes --version 1.0.0
Kubernetes Cluster Information
Additional context Add any other context about the problem here.
If possible, please include:
kubectl describe
output :kubectl describe error: You must specify the type of resource to describe. Use "kubectl api-resources" for a complete list of supported resources. kubectl api-resources NAME SHORTNAMES APIVERSION NAMESPACED KIND The connection to the server localhost:8080 was refused - did you specify the right host or port?