5.15. 프록시 구성 나열
3scale toolbox를 사용하여 개발자 포털에서 정의된 모든 프록시 구성을 나열, 표시, 승격합니다.
다음 명령은 프록시 구성을 나열합니다.
3scale proxy-config list <remote> <service> <environment>
프록시 구성을 나열하는 동안 다음 옵션을 사용합니다.
Options
-o --output=<value> Output format on stdout:
one of json|yaml
Options for proxy-config
-c --config-file=<value> 3scale toolbox configuration file:
defaults to $HOME/.3scalerc.yaml
-h --help Print help for this command
-k --insecure Proceed and operate even for server
connections otherwise considered insecure
-v --version Print the version of this command
--verbose Verbose mode
5.15.1. 프록시 구성 표시 링크 복사링크가 클립보드에 복사되었습니다!
다음 명령은 프록시 구성을 보여줍니다.
3scale proxy-config show <remote> <service> <environment>
프록시 구성을 표시하는 동안 다음 옵션을 사용합니다.
Options
--config-version=<value> Specify the proxy configuration version.
If not specified, defaults to latest
-o --output=<value> Output format on stdout:
one of json|yaml
Options for proxy-config
-c --config-file=<value> 3scale toolbox configuration file:
defaults to $HOME/.3scalerc.yaml
-h --help Print help for this command
-k --insecure Proceed and operate even for server
connections otherwise considered
insecure
-v --version Print the version of this command
--verbose Verbose mode
5.15.2. 프록시 구성 승격 링크 복사링크가 클립보드에 복사되었습니다!
다음 명령은 최신 스테이징 프록시 구성을 production 환경으로 승격합니다.
3scale proxy-config promote <remote> <service>
프로덕션 환경에 최신 스테이징 프록시 구성을 승격하는 동안 다음 옵션을 사용합니다.
Options for proxy-config
-c --config-file=<value> 3scale toolbox configuration file:
defaults to $HOME/.3scalerc.yaml
-h --help Print help for this command
-k --insecure Proceed and operate even for server
connections otherwise considered insecure
-v --version Print the version of this command
--verbose Verbose mode
5.15.3. 프록시 구성 내보내기 링크 복사링크가 클립보드에 복사되었습니다!
예를 들어 3scale 인스턴스에 연결되지 않은 자체 관리 APIcast 게이트웨이가 있는 경우 proxy-config export 명령을 사용합니다. 이 시나리오에서는 APICast 배포 및 구성 옵션을 사용하여 수동으로 또는 3scale 구성을 삽입합니다. 두 경우 모두 3scale 구성을 제공해야 합니다.
다음 명령은 APIcast 게이트웨이에 삽입할 수 있는 구성을 내보냅니다.
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
5.15.4. 프록시 구성 배포 링크 복사링크가 클립보드에 복사되었습니다!
다음 deploy 명령은 Service Mesh를 사용하는 경우 APIcast 구성을 3scale 또는 프로덕션 환경에서 스테이징 환경으로 승격합니다.
3scale proxy deploy <remote> <service>
deploy 명령을 사용하여 APIcast 구성을 스테이징 환경으로 승격할 때 다음 옵션을 지정할 수 있습니다.
-o --output=<value> Output format. One of: json|yaml
5.15.5. 프록시 구성 업데이트 링크 복사링크가 클립보드에 복사되었습니다!
다음 업데이트 명령은 APIcast 구성을 업데이트합니다.
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.
5.15.6. 프록시 구성 표시 링크 복사링크가 클립보드에 복사되었습니다!
다음 show 명령은 배포 취소된 APIcast 구성을 가져옵니다.
3scale proxy show <remote> <service>
show 명령을 사용하는 경우 다음 옵션을 지정하여 배포 해제된 APIcast 구성을 가져올 수 있습니다.
-o --output=<value> Output format. One of: json|yaml
5.15.7. 프록시 구성 배포(더 이상 사용되지 않음) 링크 복사링크가 클립보드에 복사되었습니다!
3scale 2.12에서는 proxy-config deploy 명령에 대한 지원이 더 이상 사용되지 않습니다.
다음 명령을 사용합니다.
-
프록시 배포 -
프록시 업데이트 -
프록시 표시
자세한 내용은 프록시 구성 배포를 참조하십시오.
다음 deploy 명령은 Service Mesh를 사용하는 경우 APIcast 구성을 3scale 또는 프로덕션 환경에서 스테이징 환경으로 승격합니다.
3scale proxy-config deploy <remote> <service>
deploy 명령을 사용하여 APIcast 구성을 스테이징 환경으로 승격할 때 다음 옵션을 지정할 수 있습니다.
-o --output=<value> Output format. One of: json|yaml
추가 리소스