#125 Fedora-Dockerfiles examples for Kubernetes
Closed 2 years ago Opened 3 years ago by scollier.

Would be nice to have a couple of services put together to create an application that is managed by Kubernetes on Atomic. This would need to be clearly documented. We would need the proper json kubernetes files to launch the apps with. A few examples would be nice:

  1. simple web server with a database
  2. simple web server
  3. others?

Should we use some of the examples from Nulecule?

Replying to [comment:2 bex]:

Should we use some of the examples from Nulecule?

That would be great. We should create a separate ticket for that? Vpavlin mentioned that he was going to submit a PR. Need to follow up on that.

I have [https://github.com/adimania/kubernetes-example an example] which I used in my talk at Devops Day, India.
The repo consists of examples for a pod, a replication controller and a kubernetes service. I can probably add some documentation on how to use it, if this looks good.

Replying to [comment:4 adimania]:

I have [https://github.com/adimania/kubernetes-example an example] which I used in my talk at Devops Day, India.
The repo consists of examples for a pod, a replication controller and a kubernetes service. I can probably add some documentation on how to use it, if this looks good.

This looks good. It just need some docs. Will try to send a PR for docs.

I had commented on it earlier on issue #140 at https://fedorahosted.org/cloud/timeline?from=2015-11-25T16%3A54%3A31Z&precision=second.

We are still shipping Nulecule apps along with atomicapp code, which needs to be installed on a base OS. However, is there any point in duplicating the effort in Fedora repositories, or we just contribute to upstream: https://github.com/projectatomic/nulecule-library ?

Why not produce a Fedora-based Atomic App base image and then just parallel build the nulecule-library on Fedora? I think building a new repository is going to split the effort and dilute it.

So building a Fedora Atomic App docker image is fine. The other point is that we have a nulecule library and all of the apps that are run come from docker images that exist on docker hub. As a rule so far we have been trying to have these based on centos. That isn't necessarily a requirement, but we really don't want to manage two different versions of each app (one for Fedora and one for CentOS).

We will have some examples around Flock.

Fedora Dockerfiles is pretty much dead now that we have FLIBS. I'm going to close this.

Metadata Update from @dustymabe:
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata