Comments (3)
with all addons (build 2055)
{"change_spec": {"addons": ["nimble", "harbor", "istio", "picasso"]}, "operation": "reconfigure", "reason": ""}
this method should have a parameter wait-for-ready
(or whatever the appropriate status is)
GET /api/v2/k8scluster?stats HTTP/1.1
Host: 127.0.0.1:8080
Accept-Encoding: gzip, deflate
REMOTE_ADDR: 86.138.132.112
Accept: */*
User-Agent: python-requests/2.6.0 CPython/2.7.5 Linux/3.10.0-1127.13.1.el7.x86_64
Connection: keep-alive
X-BDS-SESSION: /api/v2/session/13bb569a-ed47-4591-96e6-7a322afb8463
Authorization: /api/v2/session/13bb569a-ed47-4591-96e6-7a322afb8463
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Content-Length: 7745
Content-Type: application/json
Date: Wed, 22 Jul 2020 10:16:18 GMT
Server: HPE Ezmeral Container Platform 5.1
{
"_links": {
"self": {
"href": "/api/v2/k8scluster"
}
},
"_embedded": {
"k8sclusters": [
{
"_links": {
"self": {
"href": "/api/v2/k8scluster/1"
}
},
"label": {
"name": "c1",
"description": ""
},
"k8s_version": "1.17.5",
"pod_dns_domain": "cluster.local",
"created_by_user_id": "/api/v1/user/6",
"created_by_user_name": "admin",
"created_time": 1595385148,
"k8shosts_config": [
{
"node": "/api/v2/worker/k8shost/4",
"role": "master"
},
{
"node": "/api/v2/worker/k8shost/5",
"role": "worker"
}
],
"imported": false,
"status": "updating",
"status_message": "Updating cluster addons",
"api_endpoint_access": "https://ip-10-1-0-68.us-west-2.compute.internal:10000",
"dashboard_endpoint_access": "https://ip-10-1-0-68.us-west-2.compute.internal:10002",
"admin_kube_config": "apiVersion: v1\nclusters:\n- cluster:\n certificate-authority-data: xxx=\n server: https://ip-10-1-0-68.us-west-2.compute.internal:10000\n name: k8s-1\ncontexts:\n- context:\n cluster: k8s-1\n user: kubernetes-admin\n name: kubernetes-admin@k8s-1\ncurrent-context: kubernetes-admin@k8s-1\nkind: Config\npreferences: {}\nusers:\n- name: kubernetes-admin\n user:\n client-certificate-data: xxx=\n client-key-data: xxx==",
"dashboard_token": "xxx==",
"addons": [
"picasso"
],
"type": "local",
"pod_network_range": "10.192.0.0/12",
"service_network_range": "10.96.0.0/12",
"cluster_quota": {
"cores": 16,
"memory_gb": 122,
"gpus": 0,
"persistent_storage_size_gb": 0,
"ephemeral_storage_size_gb": 2048
}
}
]
}
}
from hpecp-python-library.
To list the available addons: #204
from hpecp-python-library.
Done.
from hpecp-python-library.
Related Issues (20)
- Implement /api/v2/metrics
- Support enable/disable virtual node assignment HOT 1
- Refractor cli
- `tox -e py27` is broken on theia IDE
- Implement import k8s cluster
- Validate k8s-cluster-id format in hpecp tenant create HOT 1
- Support importing a generic cluster with user provided json
- catalog list KeyError: 'documentation' HOT 1
- Implement set SSL on gateway HOT 2
- Implement datatap module HOT 3
- Implement utilization and usage metrics
- Implement /api/v2/config
- "/usr/local/lib/python3.8/site-packages/hpecp/cli_utils.py", line 88, in dump >> TypeError: 'NoneType' object is not iterable
- epic workers HOT 4
- add assertions for wait_for_state / wait_for_status methods
- Add EPIC Cluster
- 'NoneType' objectis not iterable
- add picasso cluster
- Python client allows authentication via ENV's the CLI does not HOT 1
- NameError: name 'json' is not defined
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 hpecp-python-library.