Greg greg
  • Joined on 2018-11-05
greg merged pull request kosmos/gitea.kosmos.org#20 2019-05-02 15:25:13 +00:00
Add resource requests and limits for Gitea
greg commented on issue kosmos/gitea.kosmos.org#20 2019-05-02 15:25:02 +00:00
Add resource requests and limits for Gitea

I thought this one was already merged, I think I confused it with the one about our Drone setup for 5apps

greg closed issue kosmos/gitea.kosmos.org#17 2019-04-02 09:38:08 +00:00
Don't lose session data when upgrading GKE pods/containers
greg commented on issue kosmos/gitea.kosmos.org#17 2019-04-02 09:38:08 +00:00
Don't lose session data when upgrading GKE pods/containers

Fixed by adding this to the session section of the app.ini:

greg commented on issue kosmos/gitea.kosmos.org#15 2019-04-01 15:06:39 +00:00
Add default and Kosmos label sets

I have switched over to ship the custom files as a Docker image, that is based on the busybox image (see e0741b4 for details). The files are copied to the persistent volume in the init container. This is much better than what I had come up with previously and is running on GKE

greg pushed to feature/4-label_sets at kosmos/gitea.kosmos.org 2019-04-01 15:03:40 +00:00
e0741b4438 Ship the customizations as a Docker image
greg commented on issue kosmos/gitea.kosmos.org#15 2019-03-30 11:48:02 +00:00
Add default and Kosmos label sets

OK, I have finally understood.

greg commented on issue kosmos/gitea.kosmos.org#15 2019-03-30 11:24:32 +00:00
Add default and Kosmos label sets

I don’t think that’s the case. This seems to be exactly what init containers are for, as you suggested in the beginning:

greg commented on issue kosmos/gitea.kosmos.org#15 2019-03-29 14:56:56 +00:00
Add default and Kosmos label sets

Then why does the title say “Add a script to copy the content of the custom folder to a running pod”? Shouldn’t it say “copy the custom folder to the persistent volume” in that case?

greg commented on issue kosmos/gitea.kosmos.org#15 2019-03-29 14:26:48 +00:00
Add default and Kosmos label sets

What’s wrong with simply deploying them to a PV and mounting that as /custom? I thought that was the intial approach with the init container (which would also mount the PV and copy the files oves).

greg pushed to feature/4-label_sets at kosmos/gitea.kosmos.org 2019-03-29 14:17:16 +00:00
8050126d2d Merge branch 'master' into feature/4-label_sets
b5bbc5fa34 Update Gitea to 1.7.5
Compare 2 commits »
greg commented on issue kosmos/gitea.kosmos.org#10 2019-03-29 14:13:10 +00:00
Remove unused GCE disks

I checked again, there aren't any tk-vagrant-main-ubuntu persistent disks right now

greg pushed to master at kosmos/gitea.kosmos.org 2019-03-29 14:04:43 +00:00
b5bbc5fa34 Update Gitea to 1.7.5
greg closed issue kosmos/gitea.kosmos.org#21 2019-03-29 14:04:43 +00:00
Upgrade Gitea to 1.7.5
greg commented on issue kosmos/gitea.kosmos.org#10 2019-03-06 08:58:48 +00:00
Remove unused GCE disks

I need to figure out why it's creating persistent disks. The integrations tests are using Test Kitchen with the gce driver, because the Vagrant driver didn't work inside of Kubernetes

greg commented on issue kosmos/gitea.kosmos.org#10 2019-03-04 20:08:10 +00:00
Remove unused GCE disks

I don't know what the 100GB disks are, they're not any of the persistent disks in the GKE console

greg commented on issue kosmos/gitea.kosmos.org#10 2019-03-04 20:01:30 +00:00
Remove unused GCE disks

The tk disks are from running the integrations tests on the chef repo using GKE

greg pushed to feature/4-label_sets at kosmos/gitea.kosmos.org 2019-02-27 16:49:26 +00:00
bbfa3f2964 Add a script to copy the content of the custom folder to a running pod
greg commented on issue kosmos/gitea.kosmos.org#15 2019-02-27 12:17:58 +00:00
Add default and Kosmos label sets

There is no way to create a configmap from a directory containing subdirectories and files (you need to pass every file), so I need to rethink the process if we want to add more custom files easily. I had also misunderstood ConfigMaps, the GKE docs are more explicit about it being for key-value pairs, so it would not work for every file (https://cloud.google.com/kubernetes-engine/docs/concepts/configmap). Copying a folder recursively to a location on a pod seems possible with kubectl cp, I'm trying that out. Creating a Docker image just for copying these custom files seems overkill

greg commented on issue kosmos/gitea.kosmos.org#15 2019-02-27 11:46:21 +00:00
Add default and Kosmos label sets

I'm on it