File tree Expand file tree Collapse file tree
helm/charts/vector-operator Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ Connect us in Telegram - https://t.me/+Y0PzGa1d5DFiYThi
3838- Collect journald services logs [ doc] ( https://github.com/kaasops/vector-operator/blob/main/docs/journald-logs.md )
3939
4040
41- ## Configuration Examples
41+ ## Configuration Examples
4242Configuration for CR Vector:
4343``` yaml
4444apiVersion : observability.kaasops.io/v1alpha1
@@ -49,7 +49,7 @@ metadata:
4949spec :
5050 agent :
5151 service : true
52- image : " timberio/vector:0.24 .0-distroless-libc"
52+ image : " timberio/vector:0.47 .0-distroless-libc"
5353` ` `
5454
5555Configuration for CR VectorPipeline:
9898### How it works
9999This project aims to follow the Kubernetes [Operator pattern](https://kubernetes.io/docs/concepts/extend-kubernetes/operator/)
100100
101- It uses [Controllers](https://kubernetes.io/docs/concepts/architecture/controller/)
102- which provides a reconcile function responsible for synchronizing resources untile the desired state is reached on the cluster
101+ It uses [Controllers](https://kubernetes.io/docs/concepts/architecture/controller/)
102+ which provides a reconcile function responsible for synchronizing resources untile the desired state is reached on the cluster
103103
104104### Test It Out
1051051. Install the CRDs into the cluster:
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ metadata:
55 namespace : vector
66spec :
77 agent :
8- image : " timberio/vector:0.28.1 -debian"
8+ image : " timberio/vector:0.47.0 -debian"
99 internalMetrics : false
1010 api :
1111 enabled : true
1919 requests :
2020 cpu : 10m
2121 memory : 20Mi
22-
Original file line number Diff line number Diff line change 11# Aggregator
22
3- The operator allows deploying Vector in the cluster as an aggregator for remote processing, [ more details about this] ( https://vector.dev/docs/setup/going-to-prod/arch/aggregator/ ) .
3+ The operator allows deploying Vector in the cluster as an aggregator for remote processing, [ more details about this] ( https://vector.dev/docs/setup/going-to-prod/arch/aggregator/ ) .
44Two types of resources are available for deploying aggregators in the cluster:
55- VectorAggregator
66- ClusterVectorAggregator
@@ -17,7 +17,7 @@ metadata:
1717 name : vectorAggregator1
1818 namespace : vector
1919spec :
20- image : timberio/vector:0.40 .0-debian
20+ image : timberio/vector:0.47 .0-debian
2121 api :
2222 enabled : true
2323 replicas : 1
@@ -62,7 +62,7 @@ kind: ClusterVectorAggregator
6262metadata :
6363 name : clusterVectorAggregator1
6464spec :
65- image : timberio/vector:0.40 .0-debian
65+ image : timberio/vector:0.47 .0-debian
6666 resourceNamespace : default
6767 api :
6868 enabled : true
@@ -105,4 +105,4 @@ spec:
105105 user : elastic
106106 password : test-password
107107 strategy : basic
108- ` ` `
108+ ` ` `
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ If you want collect service journald logs from node you can use example.
44
55> Type ` journald ` in source block work only in ClusterVectorPipeline. In VectorPipeline can use only ` kubernetes_logs ` type
66
7- > If you want collect journald logs, needs to use vector-agent container with journalctl. ` timberio/vector:0.26 .0-debian ` - for example
7+ > If you want collect journald logs, needs to use vector-agent container with journalctl. ` timberio/vector:0.47 .0-debian ` - for example
88
99
1010``` yaml
Original file line number Diff line number Diff line change 11# [ EXPERIMENTAL] Kubernetes events
22
33The operator allows organizing the collection of events from the Kubernetes cluster in which it is deployed.
4- To do this, you need to deploy an aggregator and a pipeline.
4+ To do this, you need to deploy an aggregator and a pipeline.
55The operator allows collecting events from the entire cluster or from a specific namespace.
66
77## Namespace event collection
@@ -13,7 +13,7 @@ metadata:
1313 name : vectorAggregator1
1414 namespace : vector
1515spec :
16- image : timberio/vector:0.40 .0-debian
16+ image : timberio/vector:0.47 .0-debian
1717 api :
1818 enabled : true
1919 replicas : 1
@@ -53,7 +53,7 @@ kind: ClusterVectorAggregator
5353metadata :
5454 name : clusterVectorAggregator1
5555spec :
56- image : timberio/vector:0.40 .0-debian
56+ image : timberio/vector:0.47 .0-debian
5757 resourceNamespace : default
5858 api :
5959 enabled : true
8383 codec : " json"
8484 inputs :
8585 - source-test
86- ` ` `
86+ ` ` `
Original file line number Diff line number Diff line change 1212 <tr>
1313 <td rowspan="25">agent</td>
1414 <td>image</td>
15- <td>Image for Vector agent. <code>timberio/vector:0.24 .0-distroless-libc</code> by default</td>
15+ <td>Image for Vector agent. <code>timberio/vector:0.47 .0-distroless-libc</code> by default</td>
1616 </tr>
1717 <tr>
1818 <td>dataDir</td>
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ vector:
7878 name : " vector"
7979 useApiServerCache : false
8080 # agent:
81- # image: timberio/vector:0.24 .0-distroless-libc
81+ # image: timberio/vector:0.47 .0-distroless-libc
8282 # env:
8383 # - name: "testenv"
8484 # value: "testvalues"
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ func (ctrl *Controller) DeleteVectorAggregator(ctx context.Context) error {
125125
126126func (ctrl * Controller ) setDefault () {
127127 if ctrl .Spec .Image == "" {
128- ctrl .Spec .Image = "timberio/vector:0.28.1 -distroless-libc"
128+ ctrl .Spec .Image = "timberio/vector:0.47.0 -distroless-libc"
129129 }
130130
131131 if ctrl .Spec .Resources .Requests == nil {
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ func (ctrl *Controller) SetDefault() {
2828 ctrl .Vector .Spec .Agent = new (v1alpha1.VectorAgent )
2929 }
3030 if ctrl .Vector .Spec .Agent .Image == "" {
31- ctrl .Vector .Spec .Agent .Image = "timberio/vector:0.28.1 -distroless-libc"
31+ ctrl .Vector .Spec .Agent .Image = "timberio/vector:0.47.0 -distroless-libc"
3232 }
3333
3434 if ctrl .Vector .Spec .Agent .Resources .Requests == nil {
You can’t perform that action at this time.
0 commit comments