Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Argo Rollouts - Nginx Ingress による Traffic management を試す #51

Open
suzuki-shunsuke opened this issue May 30, 2020 · 1 comment

Comments

@suzuki-shunsuke
Copy link
Owner

suzuki-shunsuke commented May 30, 2020

Argo Rollouts v0.8.2

まずは Argo Rollouts をクラスタレベルにインストールする。

今回は kind を使う。

$ kind create cluster --name rollout
$ kubectl create namespace argo-rollouts
$ kubectl apply -n argo-rollouts -f https://raw.githubusercontent.com/argoproj/argo-rollouts/stable/manifests/install.yaml

kind に Nginx Ingress Controller をインストールする。

https://kind.sigs.k8s.io/docs/user/ingress/#ingress-nginx

$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/provider/kind/deploy.yaml

作り方がだめっぽい。

https://kind.sigs.k8s.io/docs/user/ingress/#create-cluster

cluster.yaml

---
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
  kubeadmConfigPatches:
  - |
    kind: InitConfiguration
    nodeRegistration:
      kubeletExtraArgs:
        node-labels: "ingress-ready=true"
  extraPortMappings:
  - containerPort: 80
    hostPort: 80
    protocol: TCP
  - containerPort: 443
    hostPort: 443
    protocol: TCP
$ kind create cluster --name rollout --config cluster.yaml
@suzuki-shunsuke
Copy link
Owner Author

Argo Rollouts の Controller が warning 吐いてる

argo-rollouts-6fd5cc7bd9-rh7j4 argo-rollouts time="2020-05-30T05:57:38Z" level=info msg="Starting watch on resource 'virtualservices'"
argo-rollouts-6fd5cc7bd9-rh7j4 argo-rollouts time="2020-05-30T05:57:38Z" level=warning msg="Error with watch: the server could not find the requested resource"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

No branches or pull requests

1 participant