{
    "url": "https://delaparra-services.nl/knowledge-hub/apply",
    "locale": "en",
    "title": "apply: Knowledge hub | DeLaParra Services",
    "description": "Create or update resources from a manifest, declaratively. Kubernetes diffs your file against the live state and reconciles.",
    "alternates": {
        "en": "https://delaparra-services.nl/knowledge-hub/apply",
        "nl": "https://delaparra-services.nl/nl/kennisbank/apply"
    },
    "formats": {
        "csv": "https://delaparra-services.nl/knowledge-hub/apply.csv",
        "md": "https://delaparra-services.nl/knowledge-hub/apply.md",
        "json": "https://delaparra-services.nl/knowledge-hub/apply.json",
        "zip": "https://delaparra-services.nl/knowledge-hub/apply.zip",
        "pdf": "https://delaparra-services.nl/knowledge-hub/apply.pdf"
    },
    "downloads": [
        {
            "url": "https://delaparra-services.nl/knowledge-hub/apply.csv",
            "encodingFormat": "text/csv",
            "name": "apply.csv"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/apply.json",
            "encodingFormat": "application/json",
            "name": "apply.json"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/apply.md",
            "encodingFormat": "text/markdown",
            "name": "apply.md"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/apply.pdf",
            "encodingFormat": "application/pdf",
            "name": "apply.pdf"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/apply.zip",
            "encodingFormat": "application/zip",
            "name": "apply.zip"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/apply/skills.zip",
            "encodingFormat": "application/zip",
            "name": "apply-skills.zip"
        }
    ],
    "markdown": "1. [Home](<https://delaparra-services.nl/>) \n1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) \n1. [apply](<https://delaparra-services.nl/knowledge-hub/apply>)\n\n  \n\nCategory: Kubernetes \n\n# apply\n\n  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    \n\n## What is apply?\n\n \n\napply: Create or update resources from a manifest, declaratively. Kubernetes diffs your file against the live state and reconciles. ` kubectl apply ` creates or updates Kubernetes resources from a manifest file. You describe the desired state, such as three replicas of an image with these settings, and Kubernetes works out what to change.\n\n \n\nDefinition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)\n\n \n\n## Frequently asked questions about apply\n\n  \n\n### How is apply used in practice?\n\n \n\nThis is the declarative approach. You do not say \"start two more pods\". You say \"there should be three\", and Kubernetes reconciles the difference. Running the same ` apply ` twice changes nothing the second time.\n\n    \n\n### What should you keep in mind with apply?\n\n \n\nKeep your manifests in Git, so every change is reviewed and recorded. Use ` kubectl diff -f ` before ` apply ` to see what would change, and ` --dry-run=server ` to check the manifest without applying it. Tools like Kustomize and Helm build on ` apply `, and GitOps tools such as Argo CD run it for you whenever the repository changes.\n\n    \n\n### What does an example of apply look like?\n\n \n\n```\nkubectl apply -f deployment.yaml kubectl apply -k ./overlays/prod\n```\n\n \n\n## At a glance\n\n   CategoryKubernetes Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026\n\n \n\n## More Kubernetes terms\n\n \n\n- [annotation](<https://delaparra-services.nl/knowledge-hub/annotation>) \n- [ClusterIP](<https://delaparra-services.nl/knowledge-hub/clusterip>) \n- [ConfigMap](<https://delaparra-services.nl/knowledge-hub/configmap>) \n- [CronJob](<https://delaparra-services.nl/knowledge-hub/cronjob>) \n- [DaemonSet](<https://delaparra-services.nl/knowledge-hub/daemonset>) \n- [delete](<https://delaparra-services.nl/knowledge-hub/delete>)\n\n \n\n[All terms starting with A](<https://delaparra-services.nl/knowledge-hub#letter-a>)\n\n \n\n## Skills\n\n \n\n- ### Kubernetes Manifest Generator\n\n \n\nCreate production-ready Kubernetes manifests for Deployments, Services, ConfigMaps, and Secrets following best practices and security standards. Use when generating Kubernetes YAML manifests, creating K8s resources, or implementing production-grade Kubernetes configurations.\n\n [View skill](<https://delaparra-services.nl/skills/k8s-manifest-generator>) [Download zip](<https://delaparra-services.nl/skills/k8s-manifest-generator/download>) \n- ### Helm Chart Scaffolding\n\n \n\nDesign, organize, and manage Helm charts for templating and packaging Kubernetes applications with reusable configurations. Use when creating Helm charts, packaging Kubernetes applications, or implementing templated deployments.\n\n [View skill](<https://delaparra-services.nl/skills/helm-chart-scaffolding>) [Download zip](<https://delaparra-services.nl/skills/helm-chart-scaffolding/download>) \n- ### GitOps Workflow\n\n \n\nImplement GitOps workflows with ArgoCD and Flux for automated, declarative Kubernetes deployments with continuous reconciliation. Use when implementing GitOps practices, automating Kubernetes deployments, or setting up declarative infrastructure management.\n\n [View skill](<https://delaparra-services.nl/skills/gitops-workflow>) [Download zip](<https://delaparra-services.nl/skills/gitops-workflow/download>)\n\n [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/apply/skills.zip>)\n\n \n\n## Manuals\n\n \n\n- [Kubernetes and Terraform: do you need them?](<https://delaparra-services.nl/manuals/kubernetes-en-terraform-heb-je-het-nodig>) \n- [Docker for your Laravel app](<https://delaparra-services.nl/manuals/docker-voor-je-laravel-app>)\n\n \n\n## Related services\n\n \n\n- [Custom software and web applications](<https://delaparra-services.nl/services#service-03>)\n\nPerhaps your customers need somewhere to download their invoices, or your staff are managing bookings in a spreadsheet.\n\n \n\n## Need any help?\n\n \n\nStuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.\n\n  [Get in touch](<https://delaparra-services.nl/availability>)\n\n[HTML version](https://delaparra-services.nl/knowledge-hub/apply)\n",
    "structured_data": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://delaparra-services.nl/#practice",
                "logo": "https://delaparra-services.nl/logo.png",
                "name": "DeLaParra Services",
                "legalName": "DeLaParra Services",
                "url": "https://delaparra-services.nl/",
                "description": "Bespoke software, web applications and mobile apps, developed in Laravel by a single developer in Groningen. Fixed price agreed in advance, full source code provided upon delivery.",
                "email": "info@delaparra-services.nl",
                "address": {
                    "@type": "PostalAddress",
                    "addressLocality": "Groningen",
                    "addressRegion": "Groningen",
                    "addressCountry": "NL"
                },
                "areaServed": "Groningen, the Netherlands",
                "knowsLanguage": [
                    "en",
                    "nl"
                ],
                "knowsAbout": [
                    "Web design and development",
                    "App development",
                    "Custom software and web applications",
                    "OpenSpec",
                    "AI code review",
                    "Your own coding agent"
                ],
                "founder": {
                    "@id": "https://delaparra-services.nl/#person"
                }
            },
            {
                "@type": "FAQPage",
                "@id": "https://delaparra-services.nl/knowledge-hub/apply#webpage",
                "url": "https://delaparra-services.nl/knowledge-hub/apply",
                "name": "apply: Knowledge hub | DeLaParra Services",
                "description": "Create or update resources from a manifest, declaratively. Kubernetes diffs your file against the live state and reconciles.",
                "isPartOf": {
                    "@id": "https://delaparra-services.nl/#website"
                },
                "about": {
                    "@type": "DefinedTerm",
                    "@id": "https://delaparra-services.nl/knowledge-hub/apply#term",
                    "name": "apply",
                    "description": "Create or update resources from a manifest, declaratively. Kubernetes diffs your file against the live state and reconciles.",
                    "termCode": "apply",
                    "url": "https://delaparra-services.nl/knowledge-hub/apply",
                    "inLanguage": "en",
                    "keywords": "Kubernetes",
                    "dateModified": "2026-11-25T17:46:24+00:00",
                    "inDefinedTermSet": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#terms"
                    },
                    "isPartOf": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#dataset"
                    },
                    "subjectOf": [
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/apply#webpage"
                        },
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/apply#dataset"
                        }
                    ]
                },
                "inLanguage": "en",
                "breadcrumb": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/apply#breadcrumb"
                },
                "mainEntity": [
                    {
                        "@type": "Question",
                        "name": "What is apply?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "Create or update resources from a manifest, declaratively. Kubernetes diffs your file against the live state and reconciles. kubectl apply creates or updates Kubernetes resources from a manifest file. You describe the desired state, such as three replicas of an image with these settings, and Kubernetes works out what to change."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "How is apply used in practice?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "This is the declarative approach. You do not say \"start two more pods\". You say \"there should be three\", and Kubernetes reconciles the difference. Running the same apply twice changes nothing the second time."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What should you keep in mind with apply?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "Keep your manifests in Git, so every change is reviewed and recorded. Use kubectl diff -f before apply to see what would change, and --dry-run=server to check the manifest without applying it. Tools like Kustomize and Helm build on apply, and GitOps tools such as Argo CD run it for you whenever the repository changes."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What does an example of apply look like?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "kubectl apply -f deployment.yaml kubectl apply -k ./overlays/prod"
                        }
                    }
                ],
                "author": {
                    "@id": "https://delaparra-services.nl/#person"
                },
                "mentions": [
                    {
                        "@id": "https://delaparra-services.nl/skills/k8s-manifest-generator#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/helm-chart-scaffolding#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/gitops-workflow#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/kubernetes-en-terraform-heb-je-het-nodig#article"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/docker-voor-je-laravel-app#article"
                    }
                ]
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://delaparra-services.nl/knowledge-hub/apply#breadcrumb",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "Home",
                        "item": "https://delaparra-services.nl/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Knowledge hub",
                        "item": "https://delaparra-services.nl/knowledge-hub"
                    },
                    {
                        "@type": "ListItem",
                        "position": 3,
                        "name": "apply"
                    }
                ]
            },
            {
                "@type": "Person",
                "@id": "https://delaparra-services.nl/#person",
                "name": "Reinier de la Parra",
                "url": "https://delaparra-services.nl/about"
            },
            {
                "@type": "Dataset",
                "@id": "https://delaparra-services.nl/knowledge-hub/apply#dataset",
                "name": "apply",
                "description": "Create or update resources from a manifest, declaratively. Kubernetes diffs your file against the live state and reconciles.",
                "url": "https://delaparra-services.nl/knowledge-hub/apply",
                "identifier": "https://delaparra-services.nl/knowledge-hub/apply#dataset",
                "about": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/apply#term"
                },
                "creator": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "publisher": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "license": "https://creativecommons.org/licenses/by/4.0/",
                "creditText": "Coders Lingo (https://coderslingo.com/resources/open-dataset/), CC BY 4.0",
                "isAccessibleForFree": true,
                "inLanguage": "en",
                "keywords": "Kubernetes",
                "version": "2026-11-25",
                "dateModified": "2026-11-25T17:46:24+00:00",
                "isPartOf": {
                    "@type": "Dataset",
                    "@id": "https://delaparra-services.nl/knowledge-hub#dataset",
                    "name": "IT terms from A to Z",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "includedInDataCatalog": {
                    "@type": "DataCatalog",
                    "@id": "https://delaparra-services.nl/knowledge-hub#catalog",
                    "name": "Knowledge hub data catalog",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "distribution": [
                    {
                        "@type": "DataDownload",
                        "name": "apply.csv",
                        "encodingFormat": "text/csv",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/apply.csv",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:24+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "apply.json",
                        "encodingFormat": "application/json",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/apply.json",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:24+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "apply.md",
                        "encodingFormat": "text/markdown",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/apply.md",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:24+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "apply.pdf",
                        "encodingFormat": "application/pdf",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/apply.pdf",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:24+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "apply.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/apply.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:24+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "apply-skills.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/apply/skills.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:24+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    }
                ]
            }
        ]
    }
}