Skip to content

Commit

Permalink
Prepare release v0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jotak committed May 3, 2022
1 parent d2dae4c commit b42198a
Show file tree
Hide file tree
Showing 7 changed files with 223 additions and 31 deletions.
8 changes: 4 additions & 4 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ Once all sub-components are released (or have a release candidate), we can proce

```bash
# Set desired operator version - CAREFUL, no leading "v" here
version="0.1.2-rc0"
version="0.1.2"
# Set console plugin released version
plgv="v0.1.2-rc0"
plgv="v0.1.2"
# Set flowlogs-pipeline released version
flpv="v0.1.1-rc0"
flpv="v0.1.1"
# Set ebnpf-agent released version
bpfv="v0.1.0-rc0"
bpfv="v0.1.0"

vv=v$version
test_branch=test-$vv
Expand Down
151 changes: 147 additions & 4 deletions bundle/manifests/flows.netobserv.io_flowcollectors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,17 @@ spec:
spec:
description: FlowCollectorSpec defines the desired state of FlowCollector
properties:
agent:
default: ipfix
description: Agent selects the flows' tracing agent. Possible values
are "ipfix" (default) to use the OpenVSwitch IPFIX collector (only
valid if your cluster uses OVN-Kubernetes CNI) or "ebpf" to use
NetObserv's eBPF agent. The eBPF agent is not officially released
yet, it is provided as a preview.
enum:
- ipfix
- ebpf
type: string
clusterNetworkOperator:
description: ClusterNetworkOperator contains settings related to the
cluster network operator
Expand Down Expand Up @@ -572,7 +583,7 @@ spec:
- maxReplicas
type: object
image:
default: quay.io/netobserv/network-observability-console-plugin:v0.1.2-rc0
default: quay.io/netobserv/network-observability-console-plugin:v0.1.2
description: Image is the plugin image (including domain and tag)
type: string
imagePullPolicy:
Expand Down Expand Up @@ -620,6 +631,14 @@ spec:
portNames: {"3100": "loki"}'
type: object
type: object
register:
default: true
description: 'Automatically register the provided console plugin
with the OpenShift Console operator. When set to false, you
can still register it manually by editing console.operator.openshift.io/cluster.
E.g: oc patch console.operator.openshift.io cluster --type=''json''
-p ''[{"op": "add", "path": "/spec/plugins/-", "value": "network-observability-plugin"}]'''
type: boolean
replicas:
default: 1
description: Replicas defines the number of replicas (pods) to
Expand Down Expand Up @@ -660,6 +679,116 @@ spec:
to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
type: object
type: object
required:
- register
type: object
ebpf:
default:
imagePullPolicy: IfNotPresent
description: EBPF contains the settings of an eBPF-based flow reporter when
the "agent" property is set to "ebpf".
properties:
cacheActiveTimeout:
default: 5s
description: CacheActiveTimeout is the max period during which
the reporter will aggregate flows before sending
pattern: ^\d+(ns|ms|s|m)?$
type: string
cacheMaxFlows:
default: 1000
description: CacheMaxFlows is the max number of flows in an aggregate;
when reached, the reporter sends the flows
format: int32
minimum: 1
type: integer
env:
additionalProperties:
type: string
description: Env allows passing custom environment variables to
the NetObserv Agent. Useful for passing some very concrete performance-tuning
options (e.g. GOGC, GOMAXPROCS) that shouldn't be publicly exposed
as part of the FlowCollector descriptor, as they are only useful
in edge debug/support scenarios.
type: object
excludeInterfaces:
default:
- lo
description: ExcludeInterfaces contains the interface names that
will be excluded from flow tracing. If an entry is enclosed
by slashes (e.g. `/br-/`), it will match as regular expression,
otherwise it will be matched as a case-sensitive string.
items:
type: string
type: array
image:
default: quay.io/netobserv/netobserv-ebpf-agent:v0.1.0
description: Image is the NetObserv Agent image (including domain
and tag)
type: string
imagePullPolicy:
default: IfNotPresent
description: ImagePullPolicy is the Kubernetes pull policy for
the image defined above
enum:
- IfNotPresent
- Always
- Never
type: string
interfaces:
description: Interfaces contains the interface names from where
flows will be collected. If empty, the agent will fetch all
the interfaces in the system, excepting the ones listed in ExcludeInterfaces.
If an entry is enclosed by slashes (e.g. `/br-/`), it will match
as regular expression, otherwise it will be matched as a case-sensitive
string.
items:
type: string
type: array
logLevel:
default: info
description: LogLevel defines the log level for the NetObserv
eBPF Agent
enum:
- trace
- debug
- info
- warn
- error
- fatal
- panic
type: string
resources:
description: 'Compute Resources required by this container. Cannot
be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
properties:
limits:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: 'Limits describes the maximum amount of compute
resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
type: object
requests:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: 'Requests describes the minimum amount of compute
resources required. If Requests is omitted for a container,
it defaults to Limits if that is explicitly specified, otherwise
to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
type: object
type: object
sampling:
description: Sampling is the sampling rate on the reporter. 100
means one flow on 100 is sent. 0 or 1 means disabled.
format: int32
type: integer
type: object
flowlogsPipeline:
description: FlowlogsPipeline contains settings related to the flowlogs-pipeline
Expand Down Expand Up @@ -1198,7 +1327,7 @@ spec:
- maxReplicas
type: object
image:
default: quay.io/netobserv/flowlogs-pipeline:v0.1.1-rc0
default: quay.io/netobserv/flowlogs-pipeline:v0.1.1
description: Image is the collector image (including domain and
tag)
type: string
Expand Down Expand Up @@ -1241,6 +1370,14 @@ spec:
maximum: 65535
minimum: 1025
type: integer
prometheusPort:
default: 9090
description: 'PrometheusPort is the prometheus HTTP port: this
port exposes prometheus metrics'
format: int32
maximum: 65535
minimum: 1
type: integer
replicas:
default: 1
description: Replicas defines the number of replicas (pods) to
Expand Down Expand Up @@ -1283,10 +1420,14 @@ spec:
type: object
type: object
ipfix:
description: IPFIX contains IPFIX-related settings for the flow reporter
default:
sampling: 400
description: IPFIX contains the settings of an IPFIX-based flow reporter
when the "agent" property is set to "ipfix". defined if the ebpf
section is already defined
properties:
cacheActiveTimeout:
default: 10s
default: 60s
description: CacheActiveTimeout is the max period during which
the reporter will aggregate flows before sending
pattern: ^\d+(ns|ms|s|m)?$
Expand Down Expand Up @@ -1373,6 +1514,8 @@ spec:
going to be deployed. If empty, the namespace of the operator is
going to be used
type: string
required:
- agent
type: object
status:
description: FlowCollectorStatus defines the observed state of FlowCollector
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ kind: ConfigMap
metadata:
labels:
app: network-observability-operator
version: 0.1.2-rc0
version: 0.1.2
name: netobserv-manager-config
Loading

0 comments on commit b42198a

Please sign in to comment.