Slide 1

Slide 1 text

Michael Heap Director of Developer Relations, Kong Controlling your Kong Gateway with decK and CI/CD

Slide 2

Slide 2 text

“What do you mean production is down? It was only a config change”

Slide 3

Slide 3 text

● Developer Relations at Kong ● Wrote a book on configuration change management with Ansible ● Has still broken production with a configuration change I’m Michael

Slide 4

Slide 4 text

Today’s Plan 1. Introduce decK 2. Configure a new Kong Gateway instance 3. Back up our Gateway config using decK 4. Change our plugin configuration and apply the change with decK 5. Build a CI/CD flow to automatically apply those changes Basics 6. Manual review using environments and deck-diff 7. Distributed configuration (teams manage their own 🥳) 8. From zero to running gateway using declarative configuration Advanced Usage

Slide 5

Slide 5 text

1 Configuration management and drift detection for Kong Introducing decK

Slide 6

Slide 6 text

Features decK Export Backup an existing Gateway to a declarative configuration file Import Populate Kong’s database from a configuration file Diff Visualise the difference between your configuration and the current Gateway state Validate Ensure that your configuration file is valid and will apply cleanly to your Gateway Distributed Config Merge service definitions from multiple sources to build a single source of truth Automate decK is designed to be run as part of your CI system

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

2 Configuring Kong Gateway

Slide 9

Slide 9 text

3 Creating backups with decK

Slide 10

Slide 10 text

4 Applying changes declaratively

Slide 11

Slide 11 text

5 Using decK with CI/CD

Slide 12

Slide 12 text

Today’s Plan 1. Introduce decK ✅ 2. Configure a new Kong Gateway instance ✅ 3. Back up our Gateway config using decK ✅ 4. Change our plugin configuration and apply the change with decK ✅ 5. Build a CI/CD flow to automatically apply those changes ✅ Basics 6. Manual review using environments and deck-diff 7. Distributed configuration (teams manage their own 🥳) 8. From zero to running gateway using declarative configuration Advanced Usage

Slide 13

Slide 13 text

6 Reviewing changes

Slide 14

Slide 14 text

7 Distributed Configuration

Slide 15

Slide 15 text

8 From zero to running

Slide 16

Slide 16 text

One More Thing decK also works with Kong Konnect

Slide 17

Slide 17 text

Thank you! Michael Heap [email protected]