Skip to content

mysocketio/kubernetes_controller

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

kubernetes_controller

Kubernetes controller for Mysocket.io For details, also see this blog https://www.mysocket.io/post/global-load-balancing-with-kubernetes-and-mysocket

Make sure to update line 14,15 and 16 of mysocketd.yaml with the correct mysocket credentials.

Then deploy the controller:

kubectl apply -f mysocketd.yaml

After the controller is installed, simply add the following annotation to your Service to make it globably available via mysocket.io

kind: Service
metadata:
  annotations:
    mysocket.io/enabled: "true"

keep an eye on the contoller log files:

kubectl logs -n mysocket -f <mysocketd-pod>

Things to keep in mind: This is an MVP, it currently has the following know limitations:

  1. only one contoller pod is running at a time.
  2. the controller only picks up RSA keys for now

About

Kubernetes controller for Mysocket.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published