Comments (6)
@mihivagyok Can you comment on this
from bluemix-go.
Hi @vinayakshnd !
What is the value of the cMeta *ClusterInfo
in your case?
But maybe you cannot do that.
So can you try the example code?
https://github.com/IBM-Cloud/bluemix-go/tree/5c31bb9104f76d6bb96ab6667a521c98f8873d31/examples/container/download_config
I believe you cannot get some clusterData and that's why some parameters are empty in your case.
Thanks!
Adam
from bluemix-go.
Or please use the GetClusterConfigDetail
function instead. I think that is the proper function. Thanks!
from bluemix-go.
So the code you are using is not updated in past years.
Also, the ROKS 4.13 has changed: it uses VPE Gateway as MasterURL, so the code tries to connect to that.
Unfortunately, the code does not check for error, and that's why it is panic. But the main problem is the access problem: you cannot access the VPE Gateway from your client.
https://cloud.ibm.com/docs/openshift?topic=openshift-cs_versions_413#413_before
My advise is to use the containersv2/GetClusterConfigDetail
function and set the endpoint
parameter to private
. That will solve the issue for you.
I can add some error handling, but it won't solve your issue.
Thanks!
Adam
from bluemix-go.
With this, you would get something like this:
2023/11/07 18:12:38 Get "https://ckk2620l0jks2kmn46bg.vpe.private.eu-gb.containers.cloud.ibm.com:30766/.well-known/oauth-authorization-server": dial tcp: lookup ckk2620l0jks2kmn46bg.vpe.private.eu-gb.containers.cloud.ibm.com: no such host
exit status 1
More detail on endpoint parameter:
https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/container_cluster_config
Thanks!
from bluemix-go.
@vinayakshnd
Hi! Do you have any update? Does my proposed change work for you?
Thanks,
Adam
from bluemix-go.
Related Issues (20)
- will this SDK be split into a CF and an ibmcloud SDK? Right now it is schizophrenic with very poor guidance.
- Support get/patch cluster addons
- CIS DNS UpdateDns function fails
- Update public CloudFoundry authentication endpoints HOT 1
- /v1/version support HOT 1
- ListDns is paginated but client only gets back first page
- CreateKey(CreateServiceKeyRequest) : Creates more than one service credential with the same name
- IPv6 support HOT 2
- Question: any plan to support classic clusters in v2container HOT 6
- Add Port field to CIS Monitor Types
- Client update required HOT 4
- Add user type in ListUsers API HOT 1
- BUG : registryv1.RegistryServiceAPI // Images().InspectImage() throws an error if the inspected image is in the global icr.io image registry HOT 1
- GetAccountType API fails with error UAAEndpoint doesn't exists
- endpoint specification documentation? HOT 3
- 404 Not Found error, informixhosted.mybluemix.net does not exist
- Bug: accountv2Client.List() always throws Error: Request failed with status code: 500, internal_error HOT 1
- How to delete a worker node using Container V2 API?
- Worker API: Replace no update
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bluemix-go.