PageSourceSearch

https://flanksource.com/assets/js/f3af1dd2.dc71fd22.js

js flanksource.com collected 2026-09-25 15:23:54 UTC 2,648 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkmission_control=globalThis.webpackChunkmission_control||[]).push([[218],{94e3(e,n,o){o.r(n),o.d(n,{assets:()=>r,contentTitle:()=>c,default:()=>u,frontMatter:()=>a,metadata:()=>t,toc:()=>l});const t=JSON.parse('{"id":"guide/notifications/examples/kube-podcrashlooping","title":"Pod CrashLooping","description":"","source":"@site/docs/guide/notifications/examples/kube-podcrashlooping.md","sourceDirName":"guide/notifications/examples","slug":"/guide/notifications/examples/kube-podcrashlooping","permalink":"/docs/guide/notifications/examples/kube-podcrashlooping","draft":false,"unlisted":false,"editUrl":"https://github.com/flanksource/docs/tree/main/docs/guide/notifications/examples/kube-podcrashlooping.md","tags":[],"version":"current","frontMatter":{"title":"Pod CrashLooping"},"sidebar":"guide","previous":{"title":"Kubernetes Job Failing","permalink":"/docs/guide/notifications/examples/kube-job-failing"},"next":{"title":"Kubernetes Deployment Health","permalink":"/docs/guide/notifications/examples/kube-unhealthy-deployment"}}');var i=o(74848),s=o(28453);const a={title:"Pod CrashLooping"},c=void 0,r={},l=[];function p(e){const n={code:"code",pre:"pre",...(0,s.R)(),...e.components};return(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",metastring:'title="pod-crashlooping-alerts.yaml" file=<rootDir>/modules/mission-control/fixtures/notifications/kube-pod-crashlooping.yaml',children:"apiVersion: mission-control.flanksource.com/v1\nkind: Notification\nmetadata:\n  name: podcrashlooping-alerts\n  namespace: default\nspec:\n  events:\n    - config.unhealthy\n  filter: config.type == 'Kubernetes::Pod' && config.status == 'CrashLoopBackOff'\n  title: \"Pod {{.config.name}} in namespace {{.config.tags.namespace}} is in CrashLoopBackOff\"\n  template: |\n    {{.config.tags.namespace}}/{{.config.name}}\n    ## Reason\n    {{.config.config | jq '.status.containerStatuses[0].state.waiting.message' }}\n\n    ###  Labels:\n    {{range $k, $v := .config.config.metadata.labels}}\n    **{{$k}}**: {{$v}}\n    {{end}}\n  to:\n    email: [email protected]\n"})})}function u(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(p,{...e})}):p(e)}},28453(e,n,o){o.d(n,{R:()=>a,x:()=>c});var t=o(96540);const i={},s=t.createContext(i);function a(e){const n=t.useContext(s);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),t.createElement(s.Provider,{value:n},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.