Skip to content

Latest commit

Β 

History

History
38 lines (23 loc) Β· 911 Bytes

File metadata and controls

38 lines (23 loc) Β· 911 Bytes

E-commerce Example (kpt)

This is a simple e-commerce application example packaged using kpt.


πŸ“Œ Overview

This project demonstrates how Kubernetes applications can be managed and customized using the kpt toolchain.

Instead of modifying code, users can change configuration using YAML files.


πŸš€ Features

  • Simple Kubernetes Deployment using nginx (version pinned for reproducibility)
  • Service to expose the application internally
  • Easy-to-understand structure for beginners
  • Ready to extend with custom configuration

πŸ“‚ Structure

  • deployment.yaml β†’ Defines the application Deployment
  • service.yaml β†’ Exposes the application via a Service
  • Kptfile β†’ Defines the kpt package metadata

βš™οΈ How to Use

1. Deploy the application

Option A: Using kubectl only

kubectl apply -f deployment.yaml -f service.yaml