-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Propagate apiclient to YAML deploy pipeline #409
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
Conversation
I tested it on my in-cluster installation and it worked. Fixes kubernetes#395
@floreks @maciaszczykm Can you review? |
Current coverage is
|
To test it I've deployed kubernetes-dashboard.yaml on Intresting thing is path Besides that test, code looks good. |
Yeah. kubernetes-dashboard.yaml is wrong. Add |
Code LGTM. Lets wait for @maciaszczykm to finish tests. Reviewed 6 of 6 files at r1. Comments from the review on Reviewable.io |
Ok, I'll be investigating this tomorrow. |
Can you try once more? Delete old RC and recreate new one with image: |
Yes, but unfortunately result is still the same: apiVersion: v1
kind: ReplicationController
metadata:
labels:
app: kubernetes-dashboard-canary
version: canary
name: kubernetes-dashboard-canary
namespace: kube-system
spec:
replicas: 1
selector:
app: kubernetes-dashboard-canary
version: canary
template:
metadata:
labels:
app: kubernetes-dashboard-canary
version: canary
spec:
containers:
- name: kubernetes-dashboard-canary
image: gcr.io/google_containers/kubernetes-dashboard-amd64:canary
imagePullPolicy: Always
ports:
- containerPort: 9090
protocol: TCP
livenessProbe:
httpGet:
path: /
port: 9090
initialDelaySeconds: 30
timeoutSeconds: 30
---
apiVersion: v1
kind: Service
metadata:
labels:
app: kubernetes-dashboard-canary
name: dashboard-canary
namespace: kube-system
spec:
ports:
- port: 80
targetPort: 9090
selector:
app: kubernetes-dashboard-canary |
Strange, but on my cluster it works. When the UI starts, I see logs:
What is your k8s master version? Can you give me logs? |
@bryk More details:
@floreks Please also test it to confirm, that it isn't caused by my setup. |
For me it works just fine. I have same results as @bryk
My master version is 1.2.0 (./hack/local-up-cluster.sh) from k8s fork
I've used new yaml file from #412 |
Important detail from my side is, that I'm using |
Ah, yeah. Local cluster is broken, as it does not have service accounts. That's why the client falls back to defaults. Can you test this on a "real" cluster? local-up-cluster will be fixed once kubernetes/kubernetes#21486 is released. |
Awesome, thank you. |
Propagate apiclient to YAML deploy pipeline
Updated the register alert source feature to support API changes. Added Delete Alert source.
I tested it on my in-cluster installation and it worked.
Fixes #395