You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Ghost is a powerful app for new-media creators to publish, share, and grow a business around their content. It comes with modern tools to build a website, publish content, send newsletters & offer paid subscriptions to members."
4
+
https://ghost.org/
5
+
6
+
### Quick start
7
+
8
+
#### Get KPT Pacakge
9
+
```bash
10
+
export NAMESPACE=<YOUR NAMESPACE>
11
+
# make sure the namespace is correct and exists. Otherwise, create the namespace
12
+
kubectl create namespace ${NAMESPACE}
13
+
14
+
# You get this Ghost package by running
15
+
kpt pkg get https://github.com/GoogleContainerTools/kpt.git/package-examples/ghost@main ${NAMESPACE} --for-deployment
16
+
```
17
+
18
+
#### Update the KRM resources to your own data
19
+
20
+
Updating the KRM resources are easy with variant constructor
21
+
```bash
22
+
kpt fn render ${NAMESPACE}
23
+
```
24
+
25
+
#### Deploy the KRM resources to your cluster
26
+
27
+
```bash
28
+
# Initialize inventory info. You only need to run this if do not have resourcesgroup.yaml
description: PrometheusRule defines recording and alerting rules for a Prometheus
25
+
instance
26
+
properties:
27
+
apiVersion:
28
+
description: 'APIVersion defines the versioned schema of this representation
29
+
of an object. Servers should convert recognized schemas to the latest
30
+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
31
+
type: string
32
+
kind:
33
+
description: 'Kind is a string value representing the REST resource this
34
+
object represents. Servers may infer this from the endpoint the client
35
+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
36
+
type: string
37
+
metadata:
38
+
type: object
39
+
spec:
40
+
description: Specification of desired alerting rule definitions for Prometheus.
41
+
properties:
42
+
groups:
43
+
description: Content of Prometheus rule file
44
+
items:
45
+
description: 'RuleGroup is a list of sequentially evaluated recording
46
+
and alerting rules. Note: PartialResponseStrategy is only used
47
+
by ThanosRuler and will be ignored by Prometheus instances. Valid
48
+
values for this field are ''warn'' or ''abort''. More info: https://github.com/thanos-io/thanos/blob/main/docs/components/rule.md#partial-response'
49
+
properties:
50
+
interval:
51
+
type: string
52
+
name:
53
+
type: string
54
+
partial_response_strategy:
55
+
type: string
56
+
rules:
57
+
items:
58
+
description: 'Rule describes an alerting or recording rule
59
+
See Prometheus documentation: [alerting](https://www.prometheus.io/docs/prometheus/latest/configuration/alerting_rules/)
60
+
or [recording](https://www.prometheus.io/docs/prometheus/latest/configuration/recording_rules/#recording-rules)
0 commit comments