flowchart TD
subgraph Node
P((Node: Ready))
P --> A[Node Shutdown]
A --> B{Is graceful? not a kernel panic}
B -->|Yes| C{node graceful enabled?}
C -->|Yes| H@{ shape: processes, label: "evict pods" }
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
group "default" { | |
targets = ["app", "editor"] | |
} | |
variable "TAG" { | |
default = "test" | |
} | |
variable "APP_VERSION" { | |
default = "2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head><meta charset="utf-8"/> | |
<meta content="width=device-width, initial-scale=1.0" name="viewport"/> | |
<title>demo-pgo</title><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script> | |
<style type="text/css"> | |
pre { line-height: 125%; } | |
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } | |
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: DaemonSet | |
metadata: | |
name: osquery | |
spec: | |
selector: | |
matchLabels: | |
app: osquery | |
template: | |
metadata: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Vérifier que le paramètre de prix est fourni | |
if [ -z "$1" ]; then | |
echo "Usage: $0 <max_resale_value>" | |
exit 1 | |
fi | |
# Définir le prix maximal à partir du premier paramètre | |
MAX_RESALE_VALUE=$1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: cert-manager.io/v1 | |
kind: ClusterIssuer | |
metadata: | |
name: letsencrypt-production | |
namespace: cert-manager | |
spec: | |
acme: | |
# You must replace this email address with your own. | |
# Let's Encrypt will use this to contact you about expiring |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Execute TPM2 Startup with Delay After Suspend | |
After=systemd-suspend.service systemd-hybrid-sleep.service systemd-hibernate.service | |
[Service] | |
Type=oneshot | |
ExecStartPre=/bin/sleep 5 | |
ExecStart=/usr/bin/tpm2_startup | |
[Install] |
What was a key aspect of the origin story of DevOps? a) The invention of the internet. b) The widespread adoption of cloud computing. c) A secret society of developers and operations staff. d) The discovery of coffee as a productivity booster.
When was the Agile Manifesto first introduced? A) 1999 B) 2001 C) 2005
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1469,1472c1469 | |
< global $wpdb; | |
< if (!empty($id) | |
< && ($term = $wpdb->get_row($wpdb->prepare("SELECT taxonomy FROM $wpdb->term_taxonomy WHERE term_id = %d LIMIT 1", $id))) | |
< ) { | |
--- | |
> if (!empty($id) && ($term = get_term($id))){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jobs: | |
job: | |
steps: | |
- name: Docker meta | |
id: meta | |
uses: docker/metadata-action@v4 | |
with: | |
images: my/image | |
- id: version | |
run: | |
NewerOlder