Last active
December 17, 2018 02:19
-
-
Save h-sakano/0941f87fd4424d610ab0951e883ba6f4 to your computer and use it in GitHub Desktop.
GKEでロードバランサのIPを指定するとき、グローバルに属するIPアドレスリソースは使用できないので注意 ref: https://qiita.com/h-sakano/items/fe0ceed6214004b2e26f
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error creating load balancer (will retry): Failed to create load balancer for service default/eccube: requested ip xxx.xxx.xxx.xxx is neither static nor assigned to LB xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(default/hoge) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: hoge | |
labels: | |
app: hoge | |
spec: | |
ports: | |
- port: 80 | |
selector: | |
app: hoge | |
tier: frontend | |
environment : stage | |
type: LoadBalancer | |
loadBalancerIP: xxx.xxx.xxx.xxx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment