5.15. 프록시 구성 나열
3scale toolbox를 사용하여 개발자 포털에서 정의된 모든 프록시 구성을 나열, 표시, 승격합니다.
다음 명령은 프록시 구성을 나열합니다.
3scale proxy-config list <remote> <service> <environment>
3scale proxy-config list <remote> <service> <environment>
프록시 구성을 나열하는 동안 다음 옵션을 사용합니다.
5.15.1. 프록시 구성 표시 링크 복사링크가 클립보드에 복사되었습니다!
다음 명령은 프록시 구성을 보여줍니다.
3scale proxy-config show <remote> <service> <environment>
3scale proxy-config show <remote> <service> <environment>
프록시 구성을 표시하는 동안 다음 옵션을 사용합니다.
5.15.2. 프록시 구성 승격 링크 복사링크가 클립보드에 복사되었습니다!
다음 명령은 최신 스테이징 프록시 구성을 프로덕션 환경으로 승격합니다.
3scale proxy-config promote <remote> <service>
3scale proxy-config promote <remote> <service>
최신 스테이징 프록시 구성을 프로덕션 환경으로 승격하는 동안 다음 옵션을 사용합니다.
5.15.3. 프록시 구성 내보내기 링크 복사링크가 클립보드에 복사되었습니다!
예를 들어 3scale 인스턴스에 연결되지 않은 자체 관리 APIcast 게이트웨이가 있는 경우와 같이 proxy-config 내보내기 명령을 사용합니다. 이 시나리오에서는 3scale 구성을 수동으로 또는 APICast 배포 및 구성 옵션을 사용하여 삽입합니다. 두 경우 모두 3scale 구성을 제공해야 합니다.
다음 명령은 APIcast 게이트웨이에 삽입할 수 있는 구성을 내보냅니다.
3scale proxy-config export <remote>
3scale proxy-config export <remote>
3scale 구성 파일로 사용될 공급자 계정의 프록시 구성을 내보낼 때 다음 옵션을 지정할 수 있습니다.
Options for proxy-config
--environment=<value> Gateway environment. Must be 'sandbox' or
'production' (default: sandbox)
-o --output=<value> Output format. One of: json|yaml
Options for proxy-config
--environment=<value> Gateway environment. Must be 'sandbox' or
'production' (default: sandbox)
-o --output=<value> Output format. One of: json|yaml
5.15.4. 프록시 구성 배포 링크 복사링크가 클립보드에 복사되었습니다!
다음 deploy 명령은 서비스 메시를 사용하는 경우 APIcast 구성을 3scale의 스테이징 환경 또는 프로덕션 환경으로 승격합니다.
3scale proxy deploy <remote> <service>
3scale proxy deploy <remote> <service>
deploy 명령을 사용하여 APIcast 구성을 스테이징 환경으로 승격할 때 다음 옵션을 지정할 수 있습니다.
-o --output=<value> Output format. One of: json|yaml
-o --output=<value> Output format. One of: json|yaml
5.15.5. 프록시 구성 업데이트 링크 복사링크가 클립보드에 복사되었습니다!
다음 업데이트 명령은 APIcast 구성을 업데이트합니다.
3scale proxy update <remote> <service>
3scale proxy update <remote> <service>
update 명령을 사용하여 APIcast 구성을 업데이트할 때 다음 옵션을 지정할 수 있습니다.
-o --output=<value> Output format. One of: json|yaml
-p --param=<value> APIcast configuration parameters. Format:
[--param key=value]. Multiple options allowed.
-o --output=<value> Output format. One of: json|yaml
-p --param=<value> APIcast configuration parameters. Format:
[--param key=value]. Multiple options allowed.
5.15.6. 프록시 구성 표시 링크 복사링크가 클립보드에 복사되었습니다!
다음 show 명령은 배포되지 않은 APIcast 구성을 가져옵니다.
3scale proxy show <remote> <service>
3scale proxy show <remote> <service>
show 명령을 사용하여 배포되지 않은 APIcast 구성을 가져올 때 다음 옵션을 지정할 수 있습니다.
-o --output=<value> Output format. One of: json|yaml
-o --output=<value> Output format. One of: json|yaml
5.15.7. 프록시 구성 배포(더 이상 사용되지 않음) 링크 복사링크가 클립보드에 복사되었습니다!
3scale 2.12에서는 proxy-config 배포 명령에 대한 지원이 더 이상 사용되지 않습니다.
다음 명령을 사용합니다.
-
프록시 배포 -
프록시 업데이트 -
프록시 쇼
자세한 내용은 프록시 구성 배포를 참조하십시오.
다음 deploy 명령은 서비스 메시를 사용하는 경우 APIcast 구성을 3scale의 스테이징 환경 또는 프로덕션 환경으로 승격합니다.
3scale proxy-config deploy <remote> <service>
3scale proxy-config deploy <remote> <service>
deploy 명령을 사용하여 APIcast 구성을 스테이징 환경으로 승격할 때 다음 옵션을 지정할 수 있습니다.
-o --output=<value> Output format. One of: json|yaml
-o --output=<value> Output format. One of: json|yaml
추가 리소스