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

Setup Openshift clusters on PSI for use by the team #1871

Closed
4 tasks done
mohammedzee1000 opened this issue Jun 28, 2019 · 18 comments
Closed
4 tasks done

Setup Openshift clusters on PSI for use by the team #1871

mohammedzee1000 opened this issue Jun 28, 2019 · 18 comments
Assignees
Labels
area/release-eng Issues or PRs related to the Release Engineering estimated-size/XL (40-60) Rough sizing for Epics. About 3 sprints of work for a person kind/feature Categorizes issue as a feature request. For PRs, that means that the PR is the implementation priority/High Important issue; should be worked on before any other issues (except priority/Critical issue(s)). triage/needs-information Indicates an issue needs more information in order to work on it.
Projects

Comments

@mohammedzee1000
Copy link
Contributor

mohammedzee1000 commented Jun 28, 2019

[kind/Enhancement]

Linked to #1799
Initiate creation of cluster on PSI resources

Acceptance Criteria

  • Create Controller node
  • Setup ocp 3.11 cluster
  • Setup ocp 4.1 cluster
  • No DNS setup should be required for clients connecting to the cluser.
@girishramnani girishramnani added this to For consideration in Sprint 169 via automation Jul 1, 2019
@girishramnani girishramnani added priority/Medium Nice to have issue. Getting it done before priority changes would be great. state/Ready labels Jul 1, 2019
@girishramnani girishramnani moved this from For consideration to To Do in Sprint 169 Jul 3, 2019
@mohammedzee1000
Copy link
Contributor Author

Sorted out a considerable number of issues in cluster bring up

@girishramnani girishramnani moved this from To Do to In progress in Sprint 169 Jul 11, 2019
@ppitonak
Copy link

@mohammedzee1000 I can provision 4.2, ping me if you need help

@mohammedzee1000
Copy link
Contributor Author

@ppitonak sure i was able to successfully bring up 3.11 cluster

@girishramnani girishramnani added this to For consideration in Sprint 170 via automation Jul 24, 2019
@girishramnani girishramnani removed this from In progress in Sprint 169 Jul 24, 2019
@girishramnani girishramnani moved this from For consideration to In progress in Sprint 170 Jul 24, 2019
@kadel kadel removed this from In progress in Sprint 170 Aug 14, 2019
@kadel kadel added this to For consideration in Sprint 171 via automation Aug 14, 2019
@kadel kadel moved this from For consideration to In progress in Sprint 171 Aug 14, 2019
@girishramnani girishramnani removed this from In progress in Sprint 171 Aug 14, 2019
@amitkrout
Copy link
Contributor

/assign @amitkrout

@amitkrout amitkrout added this to For consideration in Sprint 176 via automation Nov 25, 2019
@kadel
Copy link
Member

kadel commented Nov 27, 2019

  • Create Controller node

what is Controller node?

@kadel
Copy link
Member

kadel commented Nov 27, 2019

  • No DNS setup should be required for clients connecting to the cluser.

added one additional important Acceptance criteria

@kadel kadel moved this from For consideration to To do in Sprint 176 Nov 27, 2019
@kadel kadel added estimated-size/XL (40-60) Rough sizing for Epics. About 3 sprints of work for a person and removed points/3 labels Nov 27, 2019
@mohammedzee1000
Copy link
Contributor Author

I have working on updating the scripts provided by pavol to setup 4.x cluster on PSI. The scripts make use of aws route 53 by default to create route to cluster (basically if aws command works on your system and you have a DNS there under your control the scripts will work with minor modifications to a couple of files).

I have spent some time creating copies of the script with DNS config stripped out and I have it mostly working as well.

However, DNS is going to a big question here.

As Openshift clusters map dns to services/pods in the cluster, but Openshift itself does not do DNS resolution. This will need to be handled externally with DNS server routing traffic to OpenShift Master (who knows how to map dns to respective services/pods)

We currently do have a DNS server on PSI but users are finding it a little hard configure dns server on their machine. So we might need to figure out something that does not need DNS config on client side.

So we could do aws route53 itself, external cost factor may be involved or maybe internal red hat DNS or something

@kadel
Copy link
Member

kadel commented Dec 5, 2019

As far as I know, there are two kinds of DNS in each Kubernetes cluster.
One is internal that that translates service names to endpoints ip, that one is usually handled by CoreDNS running inside the cluster. We don't have to worry about that one as this is never exposed to the outside and it is internal to the cluster.

The other DNS is one that handles DNS name resolution for Routes/Ingresses, api endpoint and console. This one is an external one. This is where I suspect is AWS Route53 used. We shouldn't need Route53 for it. All we need is to have a domain for which we can create a wildcard DNS record, something like this:

odo.cluster.com          A        10.11.12.13
*.apps.odo.cluster.com   CNAME    odo.cluster.com

@ppitonak
Copy link

ppitonak commented Dec 5, 2019

I think that @kadel described it correctly. You don't need Route53, any DNS server that has API or can be configured in non-interactive way is OK. We used Route53 as it was the quickest and cheapest solution (<$1 per month)

IMHO the cleanest solution would be to deploy Designate in PSI.

@mohammedzee1000
Copy link
Contributor Author

mohammedzee1000 commented Dec 5, 2019

Yea, although we will need to ensure that the server does not need to be explicitly configured on client side. If you are on the Red Hat Network, then you should be able to get to any dns there

@kadel
Copy link
Member

kadel commented Dec 5, 2019

I think that @kadel described it correctly. You don't need Route53, any DNS server that has API or can be configured in non-interactive way is OK. We used Route53 as it was the quickest and cheapest solution (<$1 per month)

IMHO the cleanest solution would be to deploy Designate in PSI.

Our goal is to create a long-lived cluster. It should be ok to use even a DNS that requires interactive configuration, as it will be just a one-time thing for us.

Yea, although we will need to ensure that the server does not need to be explicitly configured on client-side. If you are on the Red Hat Network, then you should be able to get to any dns there

If there is internal DNS that we can use great. That will be a clean solution. But we might be able to get away with using an external domain with dns, for example, we already own openshfitdo.org domain. We can try to use that. It won't be up the DNS standard and it is probably against some RFC, as private and unreachable IPs should never appear in public DNS records, but it should work.

@kadel kadel removed this from To Do in Sprint 176 Dec 16, 2019
@girishramnani girishramnani added the area/release-eng Issues or PRs related to the Release Engineering label Dec 26, 2019
@girishramnani girishramnani added the kind/feature Categorizes issue as a feature request. For PRs, that means that the PR is the implementation label Jan 8, 2020
@kadel kadel added triage/needs-information Indicates an issue needs more information in order to work on it. and removed state/In Analysis labels Feb 14, 2020
@kadel
Copy link
Member

kadel commented Feb 28, 2020

@mohammedzee1000 Any updates on this?
This is getting more and more important.

/priority high
/remove-priority medium

@openshift-ci-robot openshift-ci-robot added priority/High Important issue; should be worked on before any other issues (except priority/Critical issue(s)). and removed priority/Medium Nice to have issue. Getting it done before priority changes would be great. labels Feb 28, 2020
@mohammedzee1000
Copy link
Contributor Author

i will be working on getting the 4.x cluster on top priority this sprint
cc @girishramnani

@mohammedzee1000 mohammedzee1000 added this to For consideration in Sprint 181 via automation Mar 10, 2020
@girishramnani girishramnani moved this from For consideration to For review in Sprint 181 Mar 11, 2020
@girishramnani girishramnani moved this from For review to For consideration in Sprint 181 Mar 11, 2020
@girishramnani girishramnani moved this from For consideration to To do in Sprint 181 Mar 11, 2020
@mohammedzee1000
Copy link
Contributor Author

mohammedzee1000 commented Mar 18, 2020

I have registered domain psiodo.net on aws route53. Waiting on registration to be complete before I setup the permanent cluster.

Once PSI problems listed below are sorted then we can move away from route53

  • Install designate for PSI allowing us to use openstack cli to setup domains

@mohammedzee1000
Copy link
Contributor Author

@kadel ^

@mohammedzee1000
Copy link
Contributor Author

mohammedzee1000 commented Mar 18, 2020

I think that @kadel described it correctly. You don't need Route53, any DNS server that has API or can be configured in non-interactive way is OK. We used Route53 as it was the quickest and cheapest solution (<$1 per month)

IMHO the cleanest solution would be to deploy Designate in PSI.

@ppitonak but you still got to register for a year :(
Also I have asked dv to talk to PSI guys about setting up designate

@girishramnani girishramnani removed this from To do in Sprint 181 Mar 30, 2020
@girishramnani girishramnani added this to For consideration in Sprint 182 via automation Mar 30, 2020
@girishramnani girishramnani moved this from For consideration to To do in Sprint 182 Mar 30, 2020
@mohammedzee1000
Copy link
Contributor Author

mohammedzee1000 commented Mar 30, 2020

We have clusters now for 4.3.9 and 3.11 with aws route53 dns
The last thing is to fix the swift quota but that is not a blocker for this issue.

@girishramnani
Copy link
Contributor

Ac of this issue is satisfied so closing this

Sprint 182 automation moved this from To do to Done Mar 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/release-eng Issues or PRs related to the Release Engineering estimated-size/XL (40-60) Rough sizing for Epics. About 3 sprints of work for a person kind/feature Categorizes issue as a feature request. For PRs, that means that the PR is the implementation priority/High Important issue; should be worked on before any other issues (except priority/Critical issue(s)). triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
No open projects
Sprint 182
  
Done
Development

No branches or pull requests

6 participants