> For the complete documentation index, see [llms.txt](https://book.ferro.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.ferro.pro/cloud/ibm_bluemix.md).

# ibm\_bluemix

* [cli](#cli)
* [Container](#container)
* [external services](#external-services)

## cli

```
curl -fsSL https://clis.ng.bluemix.net/install/linux | sh

docker run --name bluemix \
    -d --restart unless-stopped \
    --privileged --net host \
    reachlin/bluemix
docker exec -it bluemix bash
```

<https://console.bluemix.net/containers-kubernetes/home/clusters>

```
bx plugin list
bx plugin install container-service -r Bluemix
bx plugin update container-service -r Bluemix

bx login -a https://api.eu-de.bluemix.net -sso

bx cs region
bx cs region-set eu-de

bx cs clusters
bx cs cluster-config mycluster

bx cs workers mycluster # check public IP
bx cs worker-update mycluster <node_id>

BLUEMIX_TRACE=path/to/trace.log         # Append API request diagnostics to a log file
BLUEMIX_API_KEY=api_key_value           # API key to use during login
```

## Container

<https://dev-console.stage1.bluemix.net/docs/containers/cs\\_network\\_planning.html>

```
NodePort service (free and standard clusters)
LoadBalancer service (standard clusters only)
Ingress (standard clusters only)
```

![](https://dev-console.stage1.bluemix.net/docs/api/content/containers/images/networking.png?lang=en-US)

```
bx cs cluster-get mycluster # Master URL
```

[k8s related](/container/k8s.md)

## external services

<https://console.bluemix.net/docs/containers/cs\\_integrations.html#adding\\_cluster>

```
bx service list

name                    service                  plan   bound apps   last operation
Monitoring-tz           Monitoring               lite                create succeeded
Visual Recognition-8p   watson_vision_combined   free                create succeeded
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://book.ferro.pro/cloud/ibm_bluemix.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
