Skip to content

Instantly share code, notes, and snippets.

@h-sakano
Last active December 17, 2018 02:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save h-sakano/0941f87fd4424d610ab0951e883ba6f4 to your computer and use it in GitHub Desktop.
Save h-sakano/0941f87fd4424d610ab0951e883ba6f4 to your computer and use it in GitHub Desktop.
GKEでロードバランサのIPを指定するとき、グローバルに属するIPアドレスリソースは使用できないので注意 ref: https://qiita.com/h-sakano/items/fe0ceed6214004b2e26f
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)
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