- 10 May, 2021 3 commits
-
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
Currently only implemented to kubectl-style deployments. Helm support to be added in the next commits. This is a breaking change for the self-sharding configuration. Configs previously expressed in the self-sharding object are now moved to self-sharding.shard. In addition, the optional array self-sharding.conditions may express conditions under which self-sharding logic is executed. The conditions array has the same syntax and semantics as for req-disposition. XXX: there is some DRY that needs to be refactored away. - We currently have two internal means of expressing conditions under which something happens (translated to if-clauses with matching operations and the like in VCL): Condition and the legacy MatchTerm, in both the k8s VarnishConfig class and the spec type for VCL templating. These should be unified to Condition. - The code for interpreting Conditions for the k8s object in pkg/controller is in part repeated for self-sharding and req-disposition. These should be encapsulated in a common function. - Template generation for the if-clauses implementing conditions is repeated in req-dispostiion and currently in two places for self-sharding. This should be a common text/template object. While here, move some of the code about self-sharding and conditions from varnishconfig.go to ingress.go. Because it's actually about the VarnishConfig Custom Resource, and in a continuing effort to reduce the oversized ingress.go source.
-
- 29 Apr, 2021 4 commits
-
-
Geoff Simmons authored
-
Geoff Simmons authored
We must now pass in the Pod namespace and name via the downward API, because the varnishd start script requires it.
-
Geoff Simmons authored
-
Nils Goroll authored
-
- 28 Apr, 2021 2 commits
-
-
Geoff Simmons authored
-
Geoff Simmons authored
-
- 26 Apr, 2021 5 commits
-
-
Geoff Simmons authored
Tests self-sharding with primary-only and using client.identity as the shard key.
-
Geoff Simmons authored
Updated code contributed by @slink.
-
Geoff Simmons authored
This is to ensure matches against server.identity as part of the sharding implementation. VCL backend names generated for Varnish backends must match this pattern.
-
Geoff Simmons authored
-
Geoff Simmons authored
-
- 22 Apr, 2021 6 commits
-
-
Geoff Simmons authored
-
Geoff Simmons authored
Forgot it in the earlier commit.
-
Nils Goroll authored
-
Geoff Simmons authored
-
Geoff Simmons authored
This functions exactly like the recently added feature for the viking service. The probes are fixed, but properties such as timeouts, delays, and success/failure thresholds can be set in values.yaml for the controller. k8s defaults hold for values that are not set. Closes #41
-
Geoff Simmons authored
-
- 19 Apr, 2021 1 commit
-
-
Nils Goroll authored
-
- 18 Apr, 2021 3 commits
-
-
Nils Goroll authored
I was not aware that they obviously are bashisms
-
Nils Goroll authored
-
Nils Goroll authored
-
- 12 Apr, 2021 4 commits
-
-
Nils Goroll authored
-
Nils Goroll authored
2.0 is no longer available on ftp.debian.org/debian/dists/buster-backports/
-
Nils Goroll authored
I do not understand why ./bootstrap.sh ends up as 444 when it is checked into git as 755
-
Nils Goroll authored
https://gitlab.com/uplex/varnish/k8s-ingress/-/jobs/1171216645 $ go get -d github.com/slimhazard/gogitversion go: downloading github.com/slimhazard/gogitversion v0.0.0-20180821215210-78330f1af7fc go: github.com/slimhazard/gogitversion upgrade => v0.0.0-20180821215210-78330f1af7fc $ pushd $GOPATH/pkg/mod/github.com/slimhazard/gogitversion* /go/pkg/mod/github.com/slimhazard/gogitversion@v0.0.0-20180821215210-78330f1af7fc /builds/uplex/varnish/k8s-ingress $ make install go generate gogitversion.go:40: running "./bootstrap.sh": fork/exec ./bootstrap.sh: permission denied make: *** [Makefile:30: all] Error 1
-
- 01 Apr, 2021 1 commit
-
-
Geoff Simmons authored
The probes themselves are fixed, but it is now possible to set such properties as timeouts, delays, success/failure thresholds etc in values.yaml. k8s defaults hold for values that are not set. Closes #41
-
- 22 Mar, 2021 1 commit
-
-
Nils Goroll authored
-
- 21 Feb, 2021 5 commits
-
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
Update the docs while we're here: - Add incompleteRetryDelay. - Remove templatedir. - Remove the glog flags, which are no longer added to the controller flags.
-
Geoff Simmons authored
-
Geoff Simmons authored
-
- 20 Feb, 2021 1 commit
-
-
Geoff Simmons authored
Forgot it in the previous commit.
-
- 19 Feb, 2021 4 commits
-
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
-