Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add picasso cluster #267

Open
snowch opened this issue Mar 22, 2021 · 0 comments
Open

add picasso cluster #267

snowch opened this issue Mar 22, 2021 · 0 comments

Comments

@snowch
Copy link
Member

snowch commented Mar 22, 2021

POST /api/v2/k8scluster HTTP/1.1
Host: 127.0.0.1:8080
Content-Length: 1240
Accept-Encoding: gzip, deflate
REMOTE_ADDR: 86.191.225.157
Accept: */*
User-Agent: python-requests/2.6.0 CPython/2.7.5 Linux/3.10.0-1160.21.1.el7.x86_64
Connection: keep-alive
X-BDS-SESSION: /api/v2/session/0e60e453-1b69-4b1a-929b-c786b06475bf
Content-Type: application/json
Authorization: /api/v2/session/0e60e453-1b69-4b1a-929b-c786b06475bf

{
  "datafabric": true,
  "datafabric_name": "dfuk",
  "pod_network_range": "10.192.0.0/12",
  "k8shosts_config": [
    {
      "node": "/api/v2/worker/k8shost/4",
      "role": "master"
    },
    {
      "node": "/api/v2/worker/k8shost/5",
      "role": "master"
    },
    {
      "node": "/api/v2/worker/k8shost/3",
      "role": "master"
    },
    {
      "node": "/api/v2/worker/k8shost/8",
      "role": "worker"
    },
    {
      "node": "/api/v2/worker/k8shost/7",
      "role": "worker"
    },
    {
      "node": "/api/v2/worker/k8shost/10",
      "role": "worker"
    },
    {
      "node": "/api/v2/worker/k8shost/9",
      "role": "worker"
    },
    {
      "node": "/api/v2/worker/k8shost/6",
      "role": "worker"
    }
  ],
  "service_network_range": "10.96.0.0/12",
  "external_groups": [
    "CN=DemoTenantAdmins,CN=Users,DC=samdom,DC=example,DC=com",
    "CN=DemoTenantUsers,CN=Users,DC=samdom,DC=example,DC=com"
  ],
  "pod_dns_domain": "cluster.local",
  "label": {
    "name": "dfuk",
    "description": ""
  },
  "k8s_version": "1.20.2",
  "external_identity_server": {
    "user_attribute": "sAMAccountName",
    "bind_type": "search_bind",
    "bind_dn": "cn=Administrator,CN=Users,DC=samdom,DC=example,DC=com",
    "bind_pwd": "5ambaPwd@",
    "host": "10.1.0.160",
    "group_attribute": "memberOf",
    "security_protocol": "ldaps",
    "base_dn": "CN=Users,DC=samdom,DC=example,DC=com",
    "verify_peer": false,
    "type": "Active Directory",
    "port": 636
  },
  "addons": []
}

HTTP/1.1 201 Created
Access-Control-Allow-Origin: *
Content-Length: 13
Content-Type: text/plain
Date: Mon, 22 Mar 2021 22:48:38 GMT
Location: /api/v2/k8scluster/1
Server: HPE Ezmeral Container Platform 5.3

201 Created

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant