CS Launch Ingress: Difference between revisions

From Computer Science Wiki
Jump to navigation Jump to search
Carnold (talk | contribs)
m Protected "CS Launch Ingress" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
Carnold (talk | contribs)
No edit summary
Line 1: Line 1:
== Introduction ==
== Introduction ==
This is guide a supplement to the [[CS Launch]] guide.  It goes into more detail about CS Launch Ingress support.
This is guide a supplement to the [[HowTo:CS Launch]] guide.  It goes into more detail about CS Launch Ingress support.


== Annotations ==
== Annotations ==

Revision as of 13:16, 23 January 2024

Introduction

This is guide a supplement to the HowTo:CS Launch guide. It goes into more detail about CS Launch Ingress support.

Annotations

You an modify the behavior of your ingress using kubernetes annotations on your ingress resource. A common example is to restrict access to certain IP ranges. A full list of annotations and their descriptions can be found at: https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/nginx-configuration/annotations.md

Adding an Annotation

You apply annotations by modifying the ingress resource object.

  • Navigate to your Cluster Dashboard
  • Click on Service Discovery from the menu on the left.
  • Click on Ingresses from the sub-menu on the left.
  • Click on the Kebab menu for the ingress you want to edit, and select Edit Config.
  • Click on the Labels & Annotations tab.
  • Click on the Add Annotation button.
  • Fill in the Key and Value fields.
  • Alternatively, you can modify your YAML specification directly, example:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
    nginx.ingress.kubernetes.io/rewrite-target: /$2

Common Annotations