Automated Kubernetes Testing with Robot Framework, ArgoCD & With KinD Lifecycle — n8n Workflow

Hoog complexiteit Trigger54 knooppunten🤗 Supportdoor Vigh Sandor

Overzicht

Overview

This n8n workflow provides automated CI/CD testing for Kubernetes applications using KinD (Kubernetes in Docker). It creates temporary infrastructure, runs tests, and cleans up everything automatically.

Three-Phase Lifecycle

INIT Phase - Infrastructure Setup Installs dependencies (sshpass, Docker, KinD) Creates KinD cluster Installs Helm and Nginx Ingress Installs HAProxy for port forwarding Deploys ArgoCD Applies ApplicationSet

TEST Phase - Automated Testing Downloads Robot Framewo

Gebruikte knooppunten

TelegramGitLab

Workflow-voorvertoning

Testing KinD and deployment with Robot Framew
Install Docker in Target and init KinD Custer
Destroy KinD Cluster with the tested deployme
Important!
If you are using a script in Robot Framework that works
Important!
To ​​use this workflow, you MUST INSTALL the n8n-nodes-
Workflow Overview
This workflow automates the complete lifecycle of Kuber
INIT Phase: Sets up Docker, KinD cluster, Helm, Ingress
TEST Phase:
Trigger Configuration
This workflow supports three trigger methods:
Manual Trigger: Click to execute on-demand for testing
Webhook: Integrate with GitLab CI/CD for automated exec
Required Configuration
Update these parameters before running:
target_host: IP address of your remote server
target_port: SSH port (usually 22)
target_user: SSH username
target_password: SSH pass
GitLab Integration
These nodes download configuration files from your GitL
config.yaml: KinD cluster configuration
test.robot: Robot Framework test script
demo-applicationSet.yaml:
Phase Control Logic
The Switch node routes execution based on the progress
progress = INIT: Starts infrastructure setup
progress = TEST: Runs tests (assumes infrastructure exi
prog
Telegram Notification
Configure this node to receive test results:
1. Update chatId with your Telegram chat ID
2. Configure Telegram API credentials
3. Results are sent as a compressed archive co
INIT Phase Summary
This phase prepares the complete testing infrastructure
1. Installs sshpass for SSH automation
2. Installs Docker on remote host
3. Installs KinD (Kubernetes in Docker)
4. Cre
TEST Phase Summary
This phase executes automated tests:
1. Downloads Robot Framework test script from GitLab
2. Installs Python, Robot Framework, and Browser librar
3. Installs Chromium browser
DESTROY Phase Summary
This phase removes all testing infrastructure:
1. Removes HAProxy and cleans configuration
2. Deletes KinD cluster (automate-tst)
3. Uninstalls KinD binary
4. Uninstalls Doc
Final Notification
Configure your Telegram credentials in this node.
Update the CHAT_ID variable in the command to match you
Optional SMS notifications are commented out - unc
KinD config - sample
```
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
Robot Framework Script - sample
```
* Settings *
Library Browser
* Variables *
${LOGIN_URL} http://autotest.innersite
ArgoCD ApplicationSet - sample
```
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: tenant-appsets
Gitlab CI - sample
```
trigger_n8n:
script:
- echo "=== TRIGGER N8N Workflow Webhook ==="
- apk add curl
W
When clicking ‘Execute w…
W
Webhook
S
Schedule Trigger
Get a file - ROBOT Script
S
Set Parameters
R
Robot Framework
S
Switch
S
Set Initialized
S
Set Tested
S
Set Destroyed
W
Write Dowloaded ROBOT Sc…
A
Add Robot Framework, Bro…
R
Read ROBOT Script to Exe…
P
Pack ROBOT Script Exports
R
Read ROBOT Script Export…
Send ROBOT Script Export…
C
Check Sshpass Exist Local
I
Is Installed Local?
I
Install Sshpass Local
C
Check Docker on Target
I
Is Docker Installed on T…
I
Install Docker on Target
I
Install KinD on Target
I
Is KinD Installed on Tar…
C
Check KinD on Target
Get a file - KinD Config
W
Write Dowloaded KinD Con…
O
Open KinD Config
C
Create KinD Cluster on T…
I
Is Docker Installed on T…
I
Is KinD Installed on Tar…
C
Check Sshpass Exist Loca…
I
Is Installed Local? (D)
I
Install Sshpass Local (D)
C
Check Docker on Target (D)
D
Delete KinD Cluster on T…
C
Check KinD on Target (D)
U
UnInstall KinD on Target
U
UnInstall Docker on Target
P
Process Finish Report --…
I
Install Helm and Nginx-I…
I
Install HAProxy on Targe…
N
No Operation, do nothing
I
Is INIT Only?
I
Is TEST Only?
D
Delete HAProxy on Target
O
Open ROBOT Script to Fra…
A
Add Target to Hosts
R
Remove Target from Hosts
I
Install ArgoCD to KinD C…
Get a file - ArgoCD Appl…
W
Write Dowloaded ArgoCD A…
O
Open ArgoCD ApplicationSet
A
Apply ArgoCD Application…
54 nodes62 edges

Hoe het werkt

  1. 1

    Trigger

    De workflow start met een trigger-trigger.

  2. 2

    Verwerking

    Gegevens stromen door 54 knooppunten, connecting executecommand, gitlab, if.

  3. 3

    Uitvoer

    De workflow voltooit zijn automatisering en levert het resultaat aan de geconfigureerde bestemming.

Knooppuntdetails (54)

TE

Telegram

telegram

#1
GI

GitLab

gitlab

#2

Hoe deze workflow te importeren

  1. 1Klik op de knop JSON downloaden rechts om het workflowbestand op te slaan.
  2. 2Open uw n8n-instantie. Ga naar Workflows → Nieuw → Importeren uit bestand.
  3. 3Selecteer het gedownloade bestand automated-kubernetes-testing-with-robot-framework-argocd-with-kind-lifecycle en klik op Importeren.
  4. 4Stel inloggegevens in voor elk serviceknooppunt (API-sleutels, OAuth, enz.).
  5. 5Klik op Workflow testen om te controleren of alles werkt, activeer het vervolgens.

Of plak rechtstreeks in n8n → Importeren uit JSON:

{ "name": "Automated Kubernetes Testing with Robot Framework, ArgoCD & With KinD Lifecycle", "nodes": [...], ...}

Integraties

executecommandgitlabifmanualtriggern8n-nodes-robotframework.robotframeworkreadwritefilescheduletriggersetswitchtelegramwebhook

Haal deze workflow op

Download en importeer met één klik

JSON downloadenBekijken op n8n.io
Knooppunten54
Complexiteithigh
Triggertrigger
CategorieSupport

Gemaakt door

Vigh Sandor

Vigh Sandor

@vighsandor

Tags

executecommandgitlabifmanualtriggern8n-nodes-robotframework.robotframeworkreadwritefilescheduletriggersetswitchtelegram

Nieuw bij n8n?

n8n is een gratis open-source workflow-automatiseringstool. Host het zelf of gebruik de cloudversie.

n8n gratis ophalen →

Related Support Workflows

EMFIGOGO+5
medium

Scalable Cold Email Automation via Google Docs & n8n

Stop wasting hours manually copy-pasting email content. This high-performance n8n workflow transforms your Google Sheets database into a dynamic outreach engine. By leveraging Google Docs as a centralized template manager, you can maintain rich formatting while injecting personalized variables like first names, company details, and custom offers into every message. Unlike basic mail merges, this automation features a sophisticated 'Split in Batches' logic and integrated 'Wait' nodes to ensure your SMTP server remains in good standing, effectively bypassing spam filters associated with high-frequency sending. The process begins by fetching contact data, merging it with your Doc-based template, and executing a controlled delivery sequence. This is the ideal solution for growth teams and account managers who need the flexibility of a CRM without the high monthly costs. Whether you are sending monthly newsletters or executing targeted sales sequences, this workflow provides a robust, self-hosted alternative to expensive marketing platforms, giving you full control over your deliverability and data privacy. **Common Use Cases:** - Personalized B2B Sales Outreach: Automatically pull lead data from a spreadsheet to send customized cold pitches that look hand-written. - Automated Client Onboarding: Trigger a welcome sequence that pulls specific project details from a Master Sheet into a formatted Google Doc welcome letter. - Internal Corporate Announcements: Distribute tailored department updates to hundreds of employees with personalized performance metrics or specific team instructions.

Scheduled·12 nodes
DIEXIFMA+2
medium

How to Map Discord Server Structure with n8n (API Tutorial)

Architecting a robust Discord automation begins with a precise understanding of your server's hierarchy. This advanced n8n template serves as a diagnostic and structural mapping tool, moving beyond basic connectivity tests to provide a comprehensive audit of your Discord environment. By programmatically fetching every category and channel ID, it eliminates the manual guesswork often associated with configuring Discord bots. The workflow utilizes a strategic multi-step approach: first, it validates your OAuth2 or Bot Token credentials; next, it executes a recursive GET request to the Discord API; and finally, it parses the JSON response into a clean, actionable data structure. For businesses scaling community operations, this flow is essential for auditing permissions, preparing for mass-message deployments, or syncing server structures with external databases. Instead of hard-coding channel IDs, use this workflow to dynamically discover your server's architecture, ensuring your automated workflows remain resilient even when channels are renamed or reorganized. **Common Use Cases:** - Dynamic Channel Mapping for Automated Community Onboarding - Automated Security Audits of Discord Server Permissions and Categories - Database Synchronization of Server Structures for Multi-Tenant Bot Management

Trigger·9 nodes
COFIGMGO+5
medium

Automate GoHighLevel Contract Renewals: Slack & Gmail Sync

Stop losing revenue to expired contracts and missed follow-ups. This professional n8n automation creates a fail-safe system for client retention by bridging GoHighLevel CRM with your team's communication stack. Instead of manually auditing account dates, this workflow autonomously scans your GHL database every morning to identify subscriptions or agreements set to expire within a 10-day window. The logic begins with a scheduled trigger that pulls comprehensive client data, passing it through a validation and filtering layer to ensure only active, relevant accounts are processed. Once an expiring contract is identified, the workflow executes a multi-channel notification strategy: it sends a personalized, high-touch email via Gmail to the client, alerts the dedicated account manager via Slack for immediate awareness, and logs the entire event in Google Sheets for executive reporting. By centralizing renewal tracking and automating the outreach phase, agencies can significantly increase their LTV (Lifetime Value) and eliminate the human error associated with manual CRM management. This is an essential template for any high-growth agency looking to scale their operations without increasing administrative overhead. **Common Use Cases:** - SaaS Subscription Recovery: Automatically notify users 10 days before their annual plan expires to prevent involuntary churn. - Marketing Agency Retainer Tracking: Alert account managers when a client's 6-month service agreement is nearing completion to trigger upsell conversations. - Professional Service Compliance: Track certification or insurance expiration dates for vendors managed within GoHighLevel and maintain a master log in Google Sheets.

Scheduled·10 nodes
COGMGOIF+5
medium

Automate AI Customer Sentiment Analysis & PDF Reporting (n8n)

This advanced n8n workflow revolutionizes how businesses handle user input by transforming raw feedback into high-level business intelligence. Instead of manually sorting through surveys, this automation leverages OpenAI to perform instant sentiment analysis and categorization. The engine processes incoming webhooks, uses custom JavaScript logic to structure data, and generates professional-grade PDF summary reports via HTML/CSS conversion. To ensure stakeholders stay informed, it executes a multi-channel distribution strategy: archiving data in Google Sheets for long-term tracking, alerting teams via Slack for immediate action, and sending personalized follow-up emails through Gmail. This end-to-end pipeline eliminates manual data entry and ensures that critical customer pain points are addressed in real-time. It is the perfect solution for Product Managers and Success Teams who need to scale their feedback loops without increasing headcount, providing a transparent, documented trail of customer satisfaction trends from the moment a form is submitted. **Common Use Cases:** - SaaS Product Feedback & Feature Request Prioritization - Post-Purchase E-commerce Satisfaction Surveys with Executive Reporting - Automated B2B Client Health Scoring and Account Management Alerts

🔗 Webhook·12 nodes
@AGMLIOP+2
medium

Sync LinkedIn Posts to Email Newsletters via AI & Apify

This advanced n8n automation bridges the gap between social media presence and direct email marketing, ensuring your best insights never go to waste. By integrating Apify’s scraping capabilities with GPT-4’s generative intelligence, the workflow systematically extracts your latest LinkedIn updates and refines them into polished, subscriber-ready newsletter drafts. It begins with a scheduled trigger that initiates an Apify actor to fetch recent profile activity. The raw data is then processed through OpenAI’s Large Language Models, which summarize the key takeaways, adjust the tone for an email audience, and generate compelling subject lines. Finally, the formatted content is dispatched via Gmail, effectively turning your social feed into a self-sustaining content engine. This is an essential tool for thought leaders and agency owners who need to maintain a multi-channel presence without doubling their production time. It eliminates the friction of manual copy-pasting and ensures your email list stays engaged with your most current professional insights automatically. **Common Use Cases:** - Personal Brand Content Multiplier - Automated Weekly Thought Leadership Digest - B2B Social-to-Email Marketing Funnel

Scheduled·7 nodes