> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/deka-gpu-documentations/panduan-untuk-enterprise/service-limit/crds/cloudeka-floating-ip.md).

# Cloudeka Floating IP

Catatan penagihan dan pelacakan untuk **IP publik** yang terikat pada salah satu `Service` Anda dengan tipe `LoadBalancer`. Objek ini dibuat otomatis dengan nama yang sama seperti Service setelah load balancer platform menetapkan IP eksternal. Objek ini juga dihapus otomatis saat Service dihapus atau tipenya diubah dari `LoadBalancer`.

```bash
kubectl get cfip -n <your-namespace>
kubectl get cfip <service-name> -n <your-namespace> -o yaml
```

<table><thead><tr><th width="250.33331298828125">Kolom</th><th>Arti</th></tr></thead><tbody><tr><td><code>status.floatingIP</code></td><td>IP eksternal atau publik yang ditetapkan untuk Anda</td></tr><tr><td><code>status.internalIP</code></td><td>ClusterIP internal milik Service</td></tr><tr><td><code>status.ports</code></td><td>Port yang diekspos (<code>port</code>, <code>protocol</code>)</td></tr><tr><td><code>status.ipPoolID</code></td><td>Kumpulan alamat asal IP — lihat juga <a href="/deka-gpu-documentations/panduan-untuk-enterprise/service-limit/crds/cloudeka-ippool.md">CloudekaIPPool</a></td></tr><tr><td><code>status.chargePerHour</code></td><td>Biaya per jam saat ini untuk IP ini</td></tr></tbody></table>

{% hint style="info" %}
IP eksternal ditetapkan secara **asinkron**. Setelah membuat Service LoadBalancer, objek ini dan IP-nya mungkin memerlukan waktu untuk muncul. Pantau dengan `kubectl get svc <name> -w` hingga `EXTERNAL-IP` terisi, lalu periksa `cfip`.
{% endhint %}

{% hint style="warning" %}
Dikelola sepenuhnya oleh sistem dan mengikuti Service yang dicerminkannya. Untuk melepas IP dan menghentikan biaya, hapus atau ubah tipe Service, bukan objek ini.
{% endhint %}
