feat: Add Kubernetes examples and update dependencies

- Add Kubernetes examples demonstrating deployment of various
  applications (PostgreSQL, Redis, generic). This improves the
  documentation and provides practical usage examples.
- Add `tokio` dependency for async examples. This enables the use
  of asynchronous operations in the examples.
- Add `once_cell` dependency for improved resource management in
  Kubernetes module. This allows efficient management of
  singletons and other resources.
This commit is contained in:
Mahmoud-Emad
2025-07-10 00:40:11 +03:00
parent 99e121b0d8
commit 6b12001ca2
29 changed files with 1951 additions and 482 deletions

View File

@@ -1,5 +1,3 @@
#!/usr/bin/env rhai
// Test 1: Namespace Operations
// This test covers namespace creation, existence checking, and listing

View File

@@ -1,5 +1,3 @@
#!/usr/bin/env rhai
// Test 2: Pod Management Operations
// This test covers pod creation, listing, retrieval, and deletion

View File

@@ -1,5 +1,3 @@
#!/usr/bin/env rhai
// Test 3: PCRE Pattern Matching for Bulk Operations
// This test covers the powerful pattern-based deletion functionality

View File

@@ -1,5 +1,3 @@
#!/usr/bin/env rhai
// Test 4: Error Handling and Edge Cases
// This test covers error scenarios and edge cases

View File

@@ -1,5 +1,3 @@
#!/usr/bin/env rhai
// Test 5: Production Safety Features
// This test covers timeouts, rate limiting, retry logic, and safety features

View File

@@ -1,5 +1,3 @@
#!/usr/bin/env rhai
// Kubernetes Integration Tests - Main Test Runner
// This script runs all Kubernetes integration tests in sequence