All Projects → caddyserver → Ingress

caddyserver / Ingress

Licence: apache-2.0
WIP Caddy 2 ingress controller for Kubernetes

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Ingress

K8s1.13
微服务容器化持续交付总体流程:开发代码提交到Gitlab;Rahcher设置代码库为Gitlab;Rahcher流水线配置编译源码;Rahcher流水线Build Docker镜像;Rancher流水线Push Docker镜像到私有镜像库Harbor;Rancher流水线根据k8s yaml部署文件部署容器。
Stars: ✭ 166 (-17%)
Mutual labels:  ingress, helm
KubeStitch
Kubernetes deployment stitcher
Stars: ✭ 19 (-90.5%)
Mutual labels:  helm, ingress
django-on-k8s
An end to end tutorial to run a Django Web Application having a PostgreSQL database in Kubernetes
Stars: ✭ 37 (-81.5%)
Mutual labels:  helm, ingress
aks-terraform-helm
Showcase for Azure, AKS, Terraform, Helm and Let's Encrypt
Stars: ✭ 23 (-88.5%)
Mutual labels:  helm, ingress
gotway
☸️ Cloud native API Gateway powered with in-redis cache
Stars: ✭ 71 (-64.5%)
Mutual labels:  helm, ingress
Ingressmonitorcontroller
A Kubernetes controller to watch ingresses and create liveness alerts for your apps/microservices in UptimeRobot, StatusCake, Pingdom, etc. – [✩Star] if you're using it!
Stars: ✭ 306 (+53%)
Mutual labels:  ingress, helm
Advanced Kubernetes Course
Course files for the Advanced Kubernetes Usage course
Stars: ✭ 166 (-17%)
Mutual labels:  helm
Pihole Kubernetes
PiHole on kubernetes
Stars: ✭ 180 (-10%)
Mutual labels:  helm
Kasane
A simple kubernetes deployment manager
Stars: ✭ 160 (-20%)
Mutual labels:  helm
Orca
Advanced CI\CD tool for Kubernetes and Helm, Environments as Code
Stars: ✭ 159 (-20.5%)
Mutual labels:  helm
Gridcal
GridCal, a cross-platform power systems solver written in Python with user interface and embedded python console
Stars: ✭ 197 (-1.5%)
Mutual labels:  helm
K8s Deployment Strategies
Kubernetes deployment strategies explained
Stars: ✭ 2,649 (+1224.5%)
Mutual labels:  helm
Reckoner
Declaratively install and manage multiple Helm chart releases
Stars: ✭ 177 (-11.5%)
Mutual labels:  helm
K8s App Engine
Application delivery engine for k8s
Stars: ✭ 166 (-17%)
Mutual labels:  helm
Aws Load Balancer Controller
A Kubernetes controller for Elastic Load Balancers
Stars: ✭ 2,609 (+1204.5%)
Mutual labels:  ingress
Kube Lego
DEPRECATED: Automatically request certificates for Kubernetes Ingress resources from Let's Encrypt
Stars: ✭ 2,191 (+995.5%)
Mutual labels:  ingress
Pivt
Helm charts for running and operating Hyperledger Fabric in Kubernetes. Previously hosted at https://github.com/APGGroeiFabriek/PIVT.
Stars: ✭ 159 (-20.5%)
Mutual labels:  helm
K8s Wait For
A simple script that allows to wait for a k8s service, job or pods to enter a desired state
Stars: ✭ 172 (-14%)
Mutual labels:  helm
Container.training
Slides and code samples for training, tutorials, and workshops about Docker, containers, and Kubernetes.
Stars: ✭ 2,377 (+1088.5%)
Mutual labels:  helm
Helm Secrets
Successor of zendesk/helm-secrets - A helm plugin that help manage secrets with Git workflow and store them anywhere
Stars: ✭ 165 (-17.5%)
Mutual labels:  helm

Caddy Ingress Controller

This is the Kubernetes Ingress Controller for Caddy. It includes functionality for monitoring Ingress resources on a Kubernetes cluster and includes support for providing automatic HTTPS certificates for all hostnames defined in ingress resources that it is managing.

Cloud Provider Setup (AWS, GCLOUD, ETC...)

In the charts folder a Helm Chart is provided to make installing the Caddy Ingress Controller on a Kubernetes cluster straight forward. To install the Caddy Ingress Controller adhere to the following steps:

  1. Create a new namespace in your cluster to isolate all Caddy resources.
  kubectl create namespace caddy-system
  1. Install the Helm Chart.
  helm install \
    --namespace=caddy-system \
    --repo https://caddyserver.github.io/ingress/ \
    --atomic \
    --set image.tag=latest \
    mycaddy \
    caddy-ingress-controller

The helm chart create a service of type LoadBalancer in the caddy-system namespace on your cluster. You'll want to set any DNS records for accessing this cluster to the external IP address of this LoadBalancer when the external IP is provisioned by your cloud provider.

You can get the external IP address with kubectl get svc -n caddy-system

Debugging

To view any logs generated by Caddy or the Ingress Controller you can view the pod logs of the Caddy Ingress Controller.

Get the pod name with:

  kubectl get pods -n caddy-system

View the pod logs:

kubectl logs <pod-name> -n caddy-system

Automatic HTTPS

To enable automatic https via ingress controller using Let's Encrypt you can set the argument ingressController.autotls=true and the email to use [email protected] on the caddy ingress controller helm chart values.

Example:

when you execute the helm-chart installation.

Bringing Your Own Certificates

If you would like to disable automatic HTTPS for a specific host and use your own certificates you can create a new TLS secret in Kubernetes and define what certificates to use when serving your application on the ingress resource.

Example:

Create TLS secret mycerts, where ./tls.key and ./tls.crt are valid certificates for test.com.

kubectl create secret tls mycerts --key ./tls.key --cert ./tls.crt
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: example
  annotations:
    kubernetes.io/ingress.class: caddy
spec:
  rules:
  - host: test.com
    http:
      paths:
      - path: /
        backend:
          serviceName: test
          servicePort: 8080
  tls:
  - hosts:
    - test.com
    secretName: mycerts # use mycerts for host test.com
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].