Quyida Kubernetesda xizmat yaratadigan YAML faylining misoli keltirilgan: apiVersion: v1 type: Service metadata: name: my-service spec: selector: app: my-app ports: - name: http port: 80 targetPort: 8080 type: ClusterIP Ushbu misolda xizmat "my-service" deb nomlangan va u "app=my-app" deb nomlangan podlar bilan bog'liq. Xizmat port 80 ni tinglaydi va trafikni podlardagi targetPort 8080 ga uzatadi. Xizmat turi ClusterIP, bu faqat klaster ichidagi IP.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence