Git Product home page Git Product logo

Comments (3)

snowch avatar snowch commented on September 27, 2024

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.

snowch avatar snowch commented on September 27, 2024

To list the available addons: #204

from hpecp-python-library.

snowch avatar snowch commented on September 27, 2024

Done.

from hpecp-python-library.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.