Skip to content
This repository has been archived by the owner on Feb 5, 2020. It is now read-only.

Spike opentonic green #3270

Merged
merged 10 commits into from
Jun 8, 2018
Merged

Spike opentonic green #3270

merged 10 commits into from
Jun 8, 2018

Conversation

enxebre
Copy link
Member

@enxebre enxebre commented Jun 8, 2018

No description provided.

Yifan Gu added 9 commits June 7, 2018 15:21
Update vendor for tectonic-config to introduce new cluster config types.
Update config-generator for the new tectonic-config type.
- Bump operator images.
- Introduce openshift images.
- Drop prometheus operator and dex.
Update bootstrap manifests to use openshift images.
Add key/cert generation for openshift apiserver, etc.
Delete key/cert generation for dex.
- Introduce openshift components
- Drop dex, tectonic-prometheus-operator.
- Add key/cert generation for openshift components.
- Delete key/cert generation for dex.
Also introduce the kubelet bootstrap.
@coreosbot
Copy link

Can one of the admins verify this patch?

@@ -65,7 +65,7 @@ resource "aws_security_group_rule" "master_ingress_https" {
protocol = "tcp"
cidr_blocks = ["0.0.0.0/0"]
from_port = 6443
to_port = 6443
to_port = 6445
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's running on 6444 and 6445?

rm /etc/kubernetes/manifests/tectonic-node-controller-pod.yaml

cp -r $(pwd)/bootstrap-configs /etc/kubernetes/bootstrap-configs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not just cp -r bootstrap-configs /etc/kubernetes/bootstrap-conf without the $(pwd)?

kind: Namespace
metadata:
# This is the namespace used to hold the openshift console.
# They require openshift console run in this namespace.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Who is they?

@@ -9,3 +9,5 @@ versions:
docker: [ "17.03", "1.12"]
1.9:
docker: [ "17.03", "1.12"]
3.10:
docker: [ "17.03", "1.12"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should keep the newline

--volume=resolv,kind=host,source=/etc/resolv.conf \
--mount volume=resolv,target=/etc/resolv.conf \
--volume var-lib-cni,kind=host,source=/var/lib/cni \
--mount volume=var-lib-cni,target=/var/lib/cni \
--volume var-lib-kubelet,kind=host,source=/var/lib/kubelet \
--mount volume=var-lib-kubelet,target=/var/lib/kubelet \
--volume var-log,kind=host,source=/var/log \
--mount volume=var-log,target=/var/log"
--mount volume=var-log,target=/var/log \
--insecure-options=image"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to use --insecure-options? Can we instead add a task to make the image secure?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because we're pulling a docker image instead of an ACI. No choice :-(

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This goes away when we switch to quay.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, this is my point. Can we either:
a: switch to quay right now
or
b: make a task to switch to quay and remove this flag

tls.key: ${ingress_tls_key}
bundle.crt: ${ingress_tls_bundle}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that this commit didn't introduce the mistake but we should add a newline here.

@enxebre enxebre force-pushed the spike-opentonic-green branch from 00d0a9f to ebe6961 Compare June 8, 2018 11:33
@@ -20,6 +20,7 @@ spec:
containers:
- name: kube-core-operator
image: ${kube_core_operator_image}
imagePullPolicy: Always
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this necessary? or just some debug code that leaked?

@squeed
Copy link

squeed commented Jun 8, 2018

I did a quick smoketest of this on libvirt, and it's good enough for now. There are some followup items:

  1. tectonic-torcx (k8s-node-bootstrap.service) isn't working and should probably be deleted
  2. I accidentally ran out of disk space on my testing VM and the openshift-apiserver was evicted. It needs the critical tag.

But this looks good! LGTM.

wking added a commit to wking/openshift-installer that referenced this pull request Aug 2, 2018
The last consumer was commented out in ebe6961 (disable out of sync
tests for opentonic, 2018-06-08, coreos/tectonic-installer#3270) and
that comment was removed in 31eb165 (remove unused code, 2018-06-18,
coreos/tectonic-installer#3298).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants