2.2.6.2. apicast 이미지 패치
the
amp-apicast
이미지 스트림을 패치합니다.$ oc patch imagestream/amp-apicast --type=json -p '[{"op": "add", "path": "/spec/tags/-", "value": {"annotations": {"openshift.io/display-name": "AMP APIcast 2.11"}, "from": {"kind": "DockerImage", "name": "registry.redhat.io/3scale-amp2/apicast-gateway-rhel8:3scale2.11"}, "name": "2.11", "referencePolicy": {"type": "Source"}}}]'
apicast-staging
ImageChange 트리거를 패치합니다.이전
2.10
트리거를 제거합니다.$ oc set triggers dc/apicast-staging --from-image=amp-apicast:2.10 --containers=apicast-staging --remove
새 버전별 트리거를 추가합니다.
$ oc set triggers dc/apicast-staging --from-image=amp-apicast:2.11 --containers=apicast-staging
그러면
apicast-staging
의 재배포가 트리거됩니다. 재배포되고 해당 새 포드가 준비되어 이전 포드가 종료될 때까지 기다립니다.
apicast-production
ImageChange 트리거를 패치합니다.이전
2.10
트리거를 제거합니다.$ oc set triggers dc/apicast-production --from-image=amp-apicast:2.10 --containers=apicast-production,system-master-svc --remove
새 버전별 트리거를 추가합니다.
$ oc set triggers dc/apicast-production --from-image=amp-apicast:2.11 --containers=apicast-production,system-master-svc
그러면
apicast-production
의 재배포가 트리거됩니다. 재배포되고 해당 새 포드가 준비되어 이전 포드가 종료될 때까지 기다립니다.