-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor into distinct packages to prep for adding firewall support t…
…o Nodes
- Loading branch information
1 parent
53a5848
commit edc6484
Showing
9 changed files
with
673 additions
and
607 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package annotations | ||
|
||
const ( | ||
// AnnLinodeDefaultProtocol is the annotation used to specify the default protocol | ||
// for Linode load balancers. Options are tcp, http and https. Defaults to tcp. | ||
AnnLinodeDefaultProtocol = "service.beta.kubernetes.io/linode-loadbalancer-default-protocol" | ||
AnnLinodePortConfigPrefix = "service.beta.kubernetes.io/linode-loadbalancer-port-" | ||
AnnLinodeDefaultProxyProtocol = "service.beta.kubernetes.io/linode-loadbalancer-default-proxy-protocol" | ||
|
||
AnnLinodeCheckPath = "service.beta.kubernetes.io/linode-loadbalancer-check-path" | ||
AnnLinodeCheckBody = "service.beta.kubernetes.io/linode-loadbalancer-check-body" | ||
AnnLinodeHealthCheckType = "service.beta.kubernetes.io/linode-loadbalancer-check-type" | ||
|
||
AnnLinodeHealthCheckInterval = "service.beta.kubernetes.io/linode-loadbalancer-check-interval" | ||
AnnLinodeHealthCheckTimeout = "service.beta.kubernetes.io/linode-loadbalancer-check-timeout" | ||
AnnLinodeHealthCheckAttempts = "service.beta.kubernetes.io/linode-loadbalancer-check-attempts" | ||
AnnLinodeHealthCheckPassive = "service.beta.kubernetes.io/linode-loadbalancer-check-passive" | ||
|
||
// AnnLinodeThrottle is the annotation specifying the value of the Client Connection | ||
// Throttle, which limits the number of subsequent new connections per second from the | ||
// same client IP. Options are a number between 1-20, or 0 to disable. Defaults to 20. | ||
AnnLinodeThrottle = "service.beta.kubernetes.io/linode-loadbalancer-throttle" | ||
|
||
AnnLinodeLoadBalancerPreserve = "service.beta.kubernetes.io/linode-loadbalancer-preserve" | ||
AnnLinodeNodeBalancerID = "service.beta.kubernetes.io/linode-loadbalancer-nodebalancer-id" | ||
|
||
AnnLinodeHostnameOnlyIngress = "service.beta.kubernetes.io/linode-loadbalancer-hostname-only-ingress" | ||
AnnLinodeLoadBalancerTags = "service.beta.kubernetes.io/linode-loadbalancer-tags" | ||
AnnLinodeCloudFirewallID = "service.beta.kubernetes.io/linode-loadbalancer-firewall-id" | ||
AnnLinodeCloudFirewallACL = "service.beta.kubernetes.io/linode-loadbalancer-firewall-acl" | ||
|
||
AnnLinodeNodePrivateIP = "node.k8s.linode.com/private-ip" | ||
AnnLinodeHostUUID = "node.k8s.linode.com/host-uuid" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.