From e5fe5dab6e61039760ad9bf1a1d077aad9653e55 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Wed, 13 Mar 2024 20:02:52 -0500 Subject: [PATCH 01/10] add the argo port --- kind-config.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 kind-config.yaml diff --git a/kind-config.yaml b/kind-config.yaml new file mode 100644 index 0000000..4d8d0ab --- /dev/null +++ b/kind-config.yaml @@ -0,0 +1,20 @@ +kind: Cluster +apiVersion: kind.x-k8s.io/v1alpha4 +nodes: + - role: control-plane + kubeadmConfigPatches: + - | + kind: InitConfiguration + nodeRegistration: + kubeletExtraArgs: + node-labels: "ingress-ready=true" + extraPortMappings: + - containerPort: 30000 + hostPort: 30000 + protocol: TCP + - containerPort: 30001 + hostPort: 30001 + protocol: TCP + - containerPort: 30002 + hostPort: 30002 + protocol: TCP From 6bcaf3ece59ac127bd0d4f2fa1583fe9f5e3d9e6 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Wed, 13 Mar 2024 20:10:48 -0500 Subject: [PATCH 02/10] release v2 --- hello-world/deployments/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hello-world/deployments/deployment.yaml b/hello-world/deployments/deployment.yaml index 5b80135..6e56f87 100644 --- a/hello-world/deployments/deployment.yaml +++ b/hello-world/deployments/deployment.yaml @@ -28,7 +28,7 @@ spec: spec: containers: - name: hello-world - image: docker.io/waylonwalker/learn-rollouts:v1 + image: docker.io/waylonwalker/learn-rollouts:v2 ports: - containerPort: 5000 strategy: From 9fabd6beec3c7c220f9545aefa24c0ba0ddd7abd Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Wed, 13 Mar 2024 20:22:44 -0500 Subject: [PATCH 03/10] cleanup --- apps/apps.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/apps.yaml b/apps/apps.yaml index 2184acf..afdb529 100644 --- a/apps/apps.yaml +++ b/apps/apps.yaml @@ -78,4 +78,4 @@ spec: targetPort: 8080 # The port the service is listening on internally nodePort: 30000 # Choose a NodePort value within the allowed range (30000-32767) selector: - app: argocd-server # Selector to match the pods of the original service + app: service/argocd-server # Selector to match the pods of the original service From 2d6e03dfe26cdd1a6f12c539302b0579b053bca6 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Wed, 13 Mar 2024 20:24:03 -0500 Subject: [PATCH 04/10] readme --- README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/README.md b/README.md index a1e37cc..a4dcda4 100644 --- a/README.md +++ b/README.md @@ -1 +1,28 @@ # Learn Rollouts + +``` bash +kind create cluster --name rollout --config kind-config.yaml +# your first time through you need to add the argocd repo +helm repo add argo https://argoproj.github.io/argo-helm +helm repo update +# install argocd into the cluster +helm install argo argo/argo-cd --namespace argocd --create-namespace +# deploy the app of apps +kubectl apply -f apps/apps.yaml +``` + +``` bash +# access the argocd server +kubectl port-forward service/argo-argocd-server -n argocd 8080:443 +argocd admin initial-password -n argocd +argocd login localhost:8080 +``` + +``` bash +argocd account update-password --account admin --new-password password +argocd app list +argocd app create apps --repo https://github.com/waylonwalker/learn-rollouts --path apps --dest-server https://kubernetes.default.svc --dest-namespace argocd +argocd app list +argocd app sync apps +argocd app list +``` From 6d3c272c1aecb2047517d1f45654767b9744f135 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Wed, 13 Mar 2024 20:43:24 -0500 Subject: [PATCH 05/10] no more argo nodeport --- apps/apps.yaml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/apps/apps.yaml b/apps/apps.yaml index afdb529..72af11b 100644 --- a/apps/apps.yaml +++ b/apps/apps.yaml @@ -63,19 +63,3 @@ spec: syncPolicy: automated: prune: true - ---- - -apiVersion: v1 -kind: Service -metadata: - name: argo-nodeport - namespace: argocd -spec: - type: NodePort - ports: - - port: 443 # The port you want to expose - targetPort: 8080 # The port the service is listening on internally - nodePort: 30000 # Choose a NodePort value within the allowed range (30000-32767) - selector: - app: service/argocd-server # Selector to match the pods of the original service From 46f053caccc7ca40ed1fdc219fc8c7f1bb2e8b99 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Wed, 13 Mar 2024 20:47:42 -0500 Subject: [PATCH 06/10] rollout v1 --- hello-world/deployments/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hello-world/deployments/deployment.yaml b/hello-world/deployments/deployment.yaml index 6e56f87..5b80135 100644 --- a/hello-world/deployments/deployment.yaml +++ b/hello-world/deployments/deployment.yaml @@ -28,7 +28,7 @@ spec: spec: containers: - name: hello-world - image: docker.io/waylonwalker/learn-rollouts:v2 + image: docker.io/waylonwalker/learn-rollouts:v1 ports: - containerPort: 5000 strategy: From 4ad7bdd164fe3aebd647b188871cdc022bdb31da Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Wed, 13 Mar 2024 20:53:26 -0500 Subject: [PATCH 07/10] readme --- README.md | 109 +++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 104 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a4dcda4..4e743db 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,54 @@ # Learn Rollouts +An argocd app of apps that shows how to use rollouts. + +## hello-world application + +This application consists of a flask application in `/hello-world`, it has 3 +different versions that you can play with tagged `v1`, `v2`, and `v3`. It will +respond with a different version number based on the version that is active. + +When rolled out with the provided kind cluster it will respond with a different +header color based on the environment that it is running in. Since the idea of +rollouts is zero downtime and to rollout the exact same application both in +preview and active, the only difference is the url that it is deployed on. +Based on this url flask will choose the header color. + +* active: blue +* preview: pink +* local: green +* unknown: tan + +### Docker images + +Docker images have been pushed to a public docker hub so they are easily accessible. + + + +## Example + +Here you can see the application running in all 3 states, active, preview, and local. + +![image](https://github.com/WaylonWalker/learn-rollouts/assets/22648375/c0355d25-1e9b-4ef4-8eb5-ed6c6a9e7ce4) + +## app of apps + +This application is setup as an app of apps. You will deploy the first application and argocd will manage that app as well as the rest. + +![image](https://github.com/WaylonWalker/learn-rollouts/assets/22648375/b5fcdec7-1042-4393-8a9f-9339822a5c6d) + +From left to right in the image there is the apps application that contains all +of the argocd applications, hello-world (the flask application) and argo +rollouts.. + +## Setup + +I have given instructions for this entire project to run in a +[kind-cluster](https://kind.sigs.k8s.io/docs/user/quick-start/). First we are +going to spin up the kind cluster, install argocd and deploy the app of apps. + +First fork the repo, and change the repoURL in `apps/apps.yaml` to your own repoURL. + ``` bash kind create cluster --name rollout --config kind-config.yaml # your first time through you need to add the argocd repo @@ -11,18 +60,68 @@ helm install argo argo/argo-cd --namespace argocd --create-namespace kubectl apply -f apps/apps.yaml ``` +Now we can access the argocd server by first forwarding the port, getting the +initial password, then logging in to the `admin` account with that password. + ``` bash # access the argocd server kubectl port-forward service/argo-argocd-server -n argocd 8080:443 argocd admin initial-password -n argocd argocd login localhost:8080 +# you can also access it through a web browser at https://localhost:8080 +# you will have to accept the certificate the first time +``` + +Now we can refresh each of our apps with the web browser, or the cli. + +``` bash +argocd app list +``` + +``` +NAME CLUSTER NAMESPACE PROJECT STATUS HEALTH SYNCPOLICY CONDITIONS REPO PATH TARGET +argocd/apps https://kubernetes.default.svc argo default OutOfSync Healthy Auto-Prune SyncError https://github.com/waylonwalker/learn-rollouts apps HEAD +argocd/hello-world https://kubernetes.default.svc hello-world default Synced Suspended Auto-Prune RepeatedResourceWarning(2) https://github.com/waylonwalker/learn-rollouts hello-world/deployments HEAD +argocd/rollouts https://kubernetes.default.svc argo-rollouts default Synced Healthy Auto-Prune https://github.com/waylonwalker/learn-rollouts rollouts-app HEAD ``` ``` bash -argocd account update-password --account admin --new-password password -argocd app list -argocd app create apps --repo https://github.com/waylonwalker/learn-rollouts --path apps --dest-server https://kubernetes.default.svc --dest-namespace argocd -argocd app list argocd app sync apps -argocd app list +argocd app sync rollouts +argocd app sync hello-world ``` + +If you wish to update the argo-server password you can use the following command: + +``` bash +argocd account update-password --account admin --new-password password +``` + +## Rollouts + +install the rollouts plugin with the instructions from the +[installation](https://argoproj.github.io/argo-rollouts/installation/#kubectl-plugin-installation) +page. Then we can access the rollouts dashboard. + +``` bash +kubectl argo rollouts dashboard +``` + +![image](https://github.com/WaylonWalker/learn-rollouts/assets/22648375/6030a889-99fa-4d21-95cc-3a630a225af5) + +we can also access rollouts through the kubectl plugin. + +``` bash +kubectl argo rollouts get rollout hello-world-bluegreen -n hello-world --watch +``` + +## Rolling out a new version + +To roll out a new version of the hello-world application we can bump the +container tag from `v1` to `v2` by updating the deployment.yaml file in the +`hello-world/deployments` directory. Pushing that change, then we can `argocd app sync`. + + + +You can now play with changing between different tags, and see how the rollout +goes. active is hosted at localhost:30001 and preview at localhost:30002. From 701b43a22a2c5d99c95c15a0ed9c09f1a8d83f88 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Sun, 17 Mar 2024 21:44:55 -0500 Subject: [PATCH 08/10] healthz --- hello-world/Dockerfile | 1 + hello-world/app.py | 86 ++++++++++++++++++++++++- hello-world/deployments/deployment.yaml | 4 ++ rollouts-app/rollouts.yaml | 6 -- 4 files changed, 89 insertions(+), 8 deletions(-) diff --git a/hello-world/Dockerfile b/hello-world/Dockerfile index 0e7e56a..42b49dc 100644 --- a/hello-world/Dockerfile +++ b/hello-world/Dockerfile @@ -4,5 +4,6 @@ WORKDIR /app COPY hello-world/app.py . ENV FLASK_APP=app.py ENV FLASK_RUN_HOST=0.0.0.0 +HEALTHCHECK CMD curl --fail http://localhost:5000/healthz || exit 1 CMD ["flask", "run"] diff --git a/hello-world/app.py b/hello-world/app.py index 0bbe140..35a8868 100644 --- a/hello-world/app.py +++ b/hello-world/app.py @@ -1,8 +1,90 @@ -from flask import Flask +from pathlib import Path + +from flask import Flask, request app = Flask(__name__) +LIVE = Path("livez") +LIVE.write_text("ok") + @app.route("/") def hello_world(): - return "Hello, V2" + version = "v3" + if "5000" in request.base_url: + mode = "local" + header_color = "#a0dfa0" + elif "30001" in request.base_url: + mode = "active" + header_color = "#a0c0df" + elif "30002" in request.base_url: + mode = "preview" + header_color = "#dfa0df" + else: + mode = "unknown" + header_color = "#dfc0a0" + import time + + LIVE.write_text("no") + time.sleep(10) + LIVE.write_text("ok") + + return f""" + + + {mode}: Hello, World! + + + + +
+

{mode}: Hello, World! {version}

+
+
+

Hello, World!

+

Mode: {mode}

+

Version: {version}

+
+ + +""" + + +@app.route("/healthz") +def healthz(): + # return "failed", 500 + return "I'm still here.", 200 + + +@app.route("/livez") +def livez(): + if LIVE.read_text() == "ok": + return "All done working here." + return "I'm working here!", 500 diff --git a/hello-world/deployments/deployment.yaml b/hello-world/deployments/deployment.yaml index 5b80135..5d76da0 100644 --- a/hello-world/deployments/deployment.yaml +++ b/hello-world/deployments/deployment.yaml @@ -31,6 +31,10 @@ spec: image: docker.io/waylonwalker/learn-rollouts:v1 ports: - containerPort: 5000 + livenessProbe: + httpGet: + path: /-/healthz + port: 5000 strategy: blueGreen: # activeService specifies the service to update with the new template hash at time of promotion. diff --git a/rollouts-app/rollouts.yaml b/rollouts-app/rollouts.yaml index 6fd6543..289428b 100644 --- a/rollouts-app/rollouts.yaml +++ b/rollouts-app/rollouts.yaml @@ -1,9 +1,3 @@ -# create argo-rollouts namespace -apiVersion: v1 -kind: Namespace -metadata: - name: argo-rollouts - # This is an auto-generated file. DO NOT EDIT apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition From e37f41d7d2ba4f05b763ce96692056edcbaf4072 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Sun, 17 Mar 2024 21:45:29 -0500 Subject: [PATCH 09/10] ignore --- .gitignore | 964 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 964 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e1a3186 --- /dev/null +++ b/.gitignore @@ -0,0 +1,964 @@ +# Created by https://www.toptal.com/developers/gitignore/api/vim,node,data,emacs,python,pycharm,executable,sublimetext,visualstudio,visualstudiocode +# Edit at https://www.toptal.com/developers/gitignore?templates=vim,node,data,emacs,python,pycharm,executable,sublimetext,visualstudio,visualstudiocode + +### Data ### +*.csv +*.dat +*.efx +*.gbr +*.key +*.pps +*.ppt +*.pptx +*.sdf +*.tax2010 +*.vcf +*.xml + +### Emacs ### +# -*- mode: gitignore; -*- +*~ +\#*\# +/.emacs.desktop +/.emacs.desktop.lock +*.elc +auto-save-list +tramp +.\#* + +# Org-mode +.org-id-locations +*_archive + +# flymake-mode +*_flymake.* + +# eshell files +/eshell/history +/eshell/lastdir + +# elpa packages +/elpa/ + +# reftex files +*.rel + +# AUCTeX auto folder +/auto/ + +# cask packages +.cask/ +dist/ + +# Flycheck +flycheck_*.el + +# server auth directory +/server/ + +# projectiles files +.projectile + +# directory configuration +.dir-locals.el + +# network security +/network-security.data + + +### Executable ### +*.app +*.bat +*.cgi +*.com +*.exe +*.gadget +*.jar +*.pif +*.vb +*.wsf + +### Node ### +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* +.pnpm-debug.log* + +# Diagnostic reports (https://nodejs.org/api/report.html) +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage +*.lcov + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# Snowpack dependency directory (https://snowpack.dev/) +web_modules/ + +# TypeScript cache +*.tsbuildinfo + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional stylelint cache +.stylelintcache + +# Microbundle cache +.rpt2_cache/ +.rts2_cache_cjs/ +.rts2_cache_es/ +.rts2_cache_umd/ + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variable files +.env +.env.development.local +.env.test.local +.env.production.local +.env.local + +# parcel-bundler cache (https://parceljs.org/) +.cache +.parcel-cache + +# Next.js build output +.next +out + +# Nuxt.js build / generate output +.nuxt +dist + +# Gatsby files +.cache/ +# Comment in the public line in if your project uses Gatsby and not Next.js +# https://nextjs.org/blog/next-9-1#public-directory-support +# public + +# vuepress build output +.vuepress/dist + +# vuepress v2.x temp and cache directory +.temp + +# Docusaurus cache and generated files +.docusaurus + +# Serverless directories +.serverless/ + +# FuseBox cache +.fusebox/ + +# DynamoDB Local files +.dynamodb/ + +# TernJS port file +.tern-port + +# Stores VSCode versions used for testing VSCode extensions +.vscode-test + +# yarn v2 +.yarn/cache +.yarn/unplugged +.yarn/build-state.yml +.yarn/install-state.gz +.pnp.* + +### Node Patch ### +# Serverless Webpack directories +.webpack/ + +# Optional stylelint cache + +# SvelteKit build / generate output +.svelte-kit + +### PyCharm ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf + +# AWS User-specific +.idea/**/aws.xml + +# Generated files +.idea/**/contentModel.xml + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml + +# Gradle +.idea/**/gradle.xml +.idea/**/libraries + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/artifacts +# .idea/compiler.xml +# .idea/jarRepositories.xml +# .idea/modules.xml +# .idea/*.iml +# .idea/modules +# *.iml +# *.ipr + +# CMake +cmake-build-*/ + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# File-based project format +*.iws + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# SonarLint plugin +.idea/sonarlint/ + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +# Editor-based Rest Client +.idea/httpRequests + +# Android studio 3.1+ serialized cache file +.idea/caches/build_file_checksums.ser + +### PyCharm Patch ### +# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721 + +# *.iml +# modules.xml +# .idea/misc.xml +# *.ipr + +# Sonarlint plugin +# https://plugins.jetbrains.com/plugin/7973-sonarlint +.idea/**/sonarlint/ + +# SonarQube Plugin +# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin +.idea/**/sonarIssues.xml + +# Markdown Navigator plugin +# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced +.idea/**/markdown-navigator.xml +.idea/**/markdown-navigator-enh.xml +.idea/**/markdown-navigator/ + +# Cache file creation bug +# See https://youtrack.jetbrains.com/issue/JBR-2257 +.idea/$CACHE_FILE$ + +# CodeStream plugin +# https://plugins.jetbrains.com/plugin/12206-codestream +.idea/codestream.xml + +# Azure Toolkit for IntelliJ plugin +# https://plugins.jetbrains.com/plugin/8053-azure-toolkit-for-intellij +.idea/**/azureSettings.xml + +### Python ### +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ +cover/ + +# Translations +*.mo +*.pot + +# Django stuff: +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +.pybuilder/ +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +# For a library or package, you might want to ignore these files since the code is +# intended to run in multiple environments; otherwise, check them in: +# .python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# poetry +# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control. +# This is especially recommended for binary packages to ensure reproducibility, and is more +# commonly ignored for libraries. +# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control +#poetry.lock + +# pdm +# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control. +#pdm.lock +# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it +# in version control. +# https://pdm.fming.dev/#use-with-ide +.pdm.toml + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm +__pypackages__/ + +# Celery stuff +celerybeat-schedule +celerybeat.pid + +# SageMath parsed files +*.sage.py + +# Environments +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + +# pytype static type analyzer +.pytype/ + +# Cython debug symbols +cython_debug/ + +# PyCharm +# JetBrains specific template is maintained in a separate JetBrains.gitignore that can +# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore +# and can be added to the global gitignore or merged into this file. For a more nuclear +# option (not recommended) you can uncomment the following to ignore the entire idea folder. +#.idea/ + +### Python Patch ### +# Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration +poetry.toml + +# ruff +.ruff_cache/ + +# LSP config files +pyrightconfig.json + +### SublimeText ### +# Cache files for Sublime Text +*.tmlanguage.cache +*.tmPreferences.cache +*.stTheme.cache + +# Workspace files are user-specific +*.sublime-workspace + +# Project files should be checked into the repository, unless a significant +# proportion of contributors will probably not be using Sublime Text +# *.sublime-project + +# SFTP configuration file +sftp-config.json +sftp-config-alt*.json + +# Package control specific files +Package Control.last-run +Package Control.ca-list +Package Control.ca-bundle +Package Control.system-ca-bundle +Package Control.cache/ +Package Control.ca-certs/ +Package Control.merged-ca-bundle +Package Control.user-ca-bundle +oscrypto-ca-bundle.crt +bh_unicode_properties.cache + +# Sublime-github package stores a github token in this file +# https://packagecontrol.io/packages/sublime-github +GitHub.sublime-settings + +### Vim ### +# Swap +[._]*.s[a-v][a-z] +!*.svg # comment out if you don't need vector files +[._]*.sw[a-p] +[._]s[a-rt-v][a-z] +[._]ss[a-gi-z] +[._]sw[a-p] + +# Session +Session.vim +Sessionx.vim + +# Temporary +.netrwhist +# Auto-generated tag files +tags +# Persistent undo +[._]*.un~ + +### VisualStudioCode ### +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +!.vscode/*.code-snippets + +# Local History for Visual Studio Code +.history/ + +# Built Visual Studio Code Extensions +*.vsix + +### VisualStudioCode Patch ### +# Ignore all local history of files +.history +.ionide + +### VisualStudio ### +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore + +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Mono auto generated files +mono_crash.* + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Ww][Ii][Nn]32/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ +[Ll]ogs/ + +# Visual Studio 2015/2017 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# Visual Studio 2017 auto generated files +Generated\ Files/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUnit +*.VisualState.xml +TestResult.xml +nunit-*.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# ASP.NET Scaffolding +ScaffoldingReadMe.txt + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_h.h +*.ilk +*.meta +*.obj +*.iobj +*.pch +*.pdb +*.ipdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*_wpftmp.csproj +*.tlog +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# Visual Studio Trace Files +*.e2e + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# AxoCover is a Code Coverage Tool +.axoCover/* +!.axoCover/settings.json + +# Coverlet is a free, cross platform Code Coverage Tool +coverage*.json +coverage*.xml +coverage*.info + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# NuGet Symbol Packages +*.snupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx +*.appxbundle +*.appxupload + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!?*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm +ServiceFabricBackup/ +*.rptproj.bak + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings +*.rptproj.rsuser +*- [Bb]ackup.rdl +*- [Bb]ackup ([0-9]).rdl +*- [Bb]ackup ([0-9][0-9]).rdl + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio 6 auto-generated project file (contains which files were open etc.) +*.vbp + +# Visual Studio 6 workspace and project file (working project files containing files to include in project) +*.dsw +*.dsp + +# Visual Studio 6 technical files + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# CodeRush personal settings +.cr/personal + +# Python Tools for Visual Studio (PTVS) +*.pyc + +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config + +# Tabs Studio +*.tss + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs + +# OpenCover UI analysis results +OpenCover/ + +# Azure Stream Analytics local run output +ASALocalRun/ + +# MSBuild Binary and Structured Log +*.binlog + +# NVidia Nsight GPU debugger configuration file +*.nvuser + +# MFractors (Xamarin productivity tool) working folder +.mfractor/ + +# Local History for Visual Studio +.localhistory/ + +# Visual Studio History (VSHistory) files +.vshistory/ + +# BeatPulse healthcheck temp database +healthchecksdb + +# Backup folder for Package Reference Convert tool in Visual Studio 2017 +MigrationBackup/ + +# Ionide (cross platform F# VS Code tools) working folder +.ionide/ + +# Fody - auto-generated XML schema +FodyWeavers.xsd + +# VS Code files for those working on multiple tools +*.code-workspace + +# Local History for Visual Studio Code + +# Windows Installer files from build outputs +*.cab +*.msi +*.msix +*.msm +*.msp + +# JetBrains Rider +*.sln.iml + +### VisualStudio Patch ### +# Additional files built by Visual Studio + +# End of https://www.toptal.com/developers/gitignore/api/vim,node,data,emacs,python,pycharm,executable,sublimetext,visualstudio,visualstudiocode From d3a7abafebaf6253f766e2cd48516caff07c1899 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Sat, 22 Nov 2025 19:30:13 -0600 Subject: [PATCH 10/10] chore: note repository moved to Forgejo --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 4e743db..4f3b1d1 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +> [!IMPORTANT] +> This project has been moved to https://git.wayl.one/waylon/learn-rollouts + # Learn Rollouts An argocd app of apps that shows how to use rollouts.