OpenShift クラスターにデプロイされた、またはデプロイされる予定の API サービスは、3scale によって検出可能です。これを実現するには、OpenShift Service Object YAML 定義を設定して、以下のメタデータを含めます。
metadata:
labels:
discovery.3scale.net: "true"
annotations:
discovery.3scale.net/scheme: <http | https>
discovery.3scale.net/port: '<port number of the service within the cluster>'
discovery.3scale.net/path: <relative base path of the API backend from the root>
discovery.3scale.net/description-path: <relative or absolute path to the Open API Specification for the API>
metadata:
labels:
discovery.3scale.net: "true"
annotations:
discovery.3scale.net/scheme: <http | https>
discovery.3scale.net/port: '<port number of the service within the cluster>'
discovery.3scale.net/path: <relative base path of the API backend from the root>
discovery.3scale.net/description-path: <relative or absolute path to the Open API Specification for the API>
Copy to ClipboardCopied!Toggle word wrapToggle overflow