yaml

java
package com.example.demo.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

Microservices with Spring Cloud

java spring-cloud microservices
by David Kumar 3 tabs
yaml
stages:
  - lint
  - test
  - build
  - deploy

CI/CD pipeline with GitLab CI

ci-cd gitlab devops
by Ryan Nakamura 1 tab
yaml
# Prometheus configuration
global:
  scrape_interval: 15s
  evaluation_interval: 15s
  scrape_timeout: 10s

Prometheus monitoring and alerting configuration

prometheus monitoring alerting
by Ryan Nakamura 2 tabs
yaml
repos:
  - repo: https://github.com/gitleaks/gitleaks
    rev: v8.18.4
    hooks:
      - id: gitleaks
  - repo: https://github.com/Yelp/detect-secrets

Git secret scanning with pre commit hooks

git secrets scanning
by Kai Nakamura 1 tab
yaml
auth:
  - authentication required for non-public endpoints
  - authorization rules documented and tested
data:
  - secrets stored outside source control
  - encryption in transit enabled

Security review checklist for production readiness of new services

security-review checklist production-readiness
by Kai Nakamura 1 tab
yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: web-app
  namespace: production
  labels:

Kubernetes Pod and Deployment manifests

kubernetes k8s pods
by Ryan Nakamura 2 tabs
yaml
# ConfigMap from literal values
apiVersion: v1
kind: ConfigMap
metadata:
  name: web-app-config
  namespace: production

Kubernetes ConfigMaps and Secrets management

kubernetes k8s configmaps
by Ryan Nakamura 2 tabs
yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: user-service
  labels:
    app: user-service

Kubernetes deployment configuration

java kubernetes k8s
by David Kumar 5 tabs
yaml
cleanup_expired_sessions:
  cron: '0 2 * * *'  # Daily at 2 AM
  class: CleanupExpiredSessionsWorker
  queue: low
  description: Remove expired sessions from Redis

Background job scheduling with sidekiq-scheduler

rails sidekiq background-jobs
by Alex Kumar 2 tabs
yaml
# Pre-commit hooks configuration
repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.5.0
    hooks:
      - id: trailing-whitespace

Git workflows and branching strategies for teams

git workflows branching
by Ryan Nakamura 2 tabs
yaml
# HPA v2 with multiple metrics
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
  name: web-app-hpa
  namespace: production

Kubernetes Horizontal Pod Autoscaler and resource management

kubernetes k8s autoscaling
by Ryan Nakamura 1 tab
yaml
---
# Main playbook
- name: Configure web servers
  hosts: webservers
  become: yes
  vars:

Ansible playbooks for configuration management

ansible configuration-management devops
by Ryan Nakamura 2 tabs