The DevOps landscape has shifted dramatically toward platform engineering and GitOps workflows. This article explores the tools and practices defining modern infrastructure management.
Infrastructure as Code with Pulumi
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
import * as k8s from "@pulumi/kubernetes";
// Create EKS cluster
const cluster = new aws.eks.Cluster("codeforge-cluster", {
roleArn: clusterRole.arn,
vpcConfig: {
subnetIds: vpc.privateSubnetIds,
securityGroupIds: [securityGroup.id],
},
version: "1.29",
});
// Deploy application
const app = new k8s.apps.v1.Deployment("codeforge-app", {
metadata: { name: "codeforge", namespace: "production" },
spec: {
replicas: 3,
selector: { matchLabels: { app: "codeforge" } },
template: {
metadata: { labels: { app: "codeforge" } },
spec: {
containers: [{
name: "app",
image: "codeforge/api:latest",
ports: [{ containerPort: 8080 }],
resources: {
requests: { cpu: "250m", memory: "512Mi" },
limits: { cpu: "1000m", memory: "1Gi" },
},
}],
},
},
},
}, { provider: cluster.provider });



