> For the complete documentation index, see [llms.txt](https://ocp.1w2.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ocp.1w2.net/openshift-gui-ve-cli-ile-yonetimi/cluster.md).

# Cluster

oc cluster-info komutunu kullanabilmeniz için önce oc login komutunu kullanarak oturum açmanız gerekir. oc cluster-info komutu küme hakkında temel bilgileri görüntülemek için kullanılabilir.

```
oc cluster-info
```

Cluster çalışıyorsa, buna benzer bir şey döndürülmelidir. API Sunucusu URL'sini (bu örnekte api.openshift.firmaismi.net) görüntülemek için oc config view veya oc get apiserver komutları kullanılabilir.

```
Kubernetes master is running at https://api.openshift.firmaismi.net:6443
```

On the other hand, if you have not logged into OpenShift, something like this will be returned.

```
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
The connection to the server api.openshift.firmaismi.net:6443 was refused - did you specify the right host or port?
```
