BestPromptFinder
HomeCoding › Below is an instruction that describes a task. Write a respo...

Below is an instruction that describes a task. Write a respo...

Coding · General · Coding
58Quality
87%Useful
85Reliability

The prompt

Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Create a Kubernetes pod setup that publishes a tweet every 5 minutes. ### Input: Not applicable ### Output: apiVersion: v1 kind: Pod metadata: name: tweet-publisher spec: containers: - name: tweet-publisher image: command: - sh - -c - 'crontab -lcrontab && while true; do python publish-tweet.py && crontab -l | { cat; echo "*/5 * * * * python publish-tweet.py"; } | crontab -; sleep 31622400; done' volumeMounts: - mountPath: /crontab/crontab subPath: crontab name: cronmount volumes: - name: cronmount configMap: name: tweet-cron --- apiVersion: v1 kind: ConfigMap metadata: name: tweet-cron data: crontab: "* * * * * python publish-tweet.py"
Find similar in the app →

Why this prompt

Source

Hugging Face

Related Coding prompts

PRD to MVP Technical Plan
Quality 93 · Claude Code
Full-Stack CRUD App Builder
Quality 93 · Claude Code
Legacy Refactor Planner
Quality 93 · Claude Code
Test Suite Generator
Quality 93 · Claude Code
Third-Party API Integration
Quality 93 · Claude Code
Database Schema and Migration
Quality 93 · Claude Code