SHA256
1
0
forked from pool/hubble

update to 1.16.0

OBS-URL: https://build.opensuse.org/package/show/devel:kubic/hubble?expand=0&rev=11
This commit is contained in:
Johannes Kastl 2024-07-25 20:57:27 +00:00 committed by Git OBS Bridge
commit 542874abfc
11 changed files with 309 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

20
_service Normal file
View File

@ -0,0 +1,20 @@
<services>
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/cilium/hubble</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="revision">v1.16.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
<service name="set_version" mode="manual">
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service name="go_modules" mode="manual">
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/cilium/hubble</param>
<param name="changesrevision">930a8cf4d11175a34e11e6fecaca425ba9dfa330</param></service></servicedata>

3
hubble-0.13.5.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9dcaf035eadcc3d945496924d2caa7403d1cddf46958a5f2264deb82c52c9109
size 67875854

3
hubble-0.13.6.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:85b1d21e2c5fde4c2e04e89ef1c559bb0b90acc30eff7d57170fe5b328e337a0
size 67876878

3
hubble-1.16.0.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:02bbb106fac63e8eae86f2a56a86f8a5fa2df5689d9f6b1f491201cf92abf192
size 28113933

103
hubble.changes Normal file
View File

@ -0,0 +1,103 @@
-------------------------------------------------------------------
Thu Jul 25 17:37:50 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 1.16.0:
(no versions between 0.13.6 and this one)
* Align version numbers with Cilium
* Major Changes:
- Move cilium/hubble code to cilium/cilium repo
(cilium/cilium#31893, @michi-covalent)
* Minor Changes:
- hubble: node labels (cilium/cilium#32851, @kaworu)
- hubble: support drop_reason_desc in flow filter
(cilium/cilium#32135, @chaunceyjiang)
* Misc Changes:
- Add auto labeler for hubble-cli (cilium/cilium#32343, @aanm)
- hive: Rebase on cilium/hive (cilium/cilium#32020, @bimmlerd)
- hubble: Support --cel-expression filter in hubble observe
(cilium/cilium#32147, @chancez)
-------------------------------------------------------------------
Thu Jul 18 18:52:22 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 0.13.6:
* Modify version to 0.13.6
* Modify changelog for 0.13.6 release
* Bump golang to v1.21.12
* chore(deps): update github/codeql-action action to v3.25.12
* chore(deps): update all github action dependencies
* chore(deps): update all github action dependencies
* chore(deps): update all github action dependencies
* chore(deps): update github/codeql-action action to v3.25.11
* chore(deps): update docker/build-push-action action to v6.2.0
* chore(deps): update golang stable
* chore(deps): update golang stable
* chore(deps): update docker/build-push-action action to v6
* chore(deps): update docker.io/library/alpine docker tag to
v3.19.2
* chore(deps): update golang stable
* chore(deps): update golang stable
* chore(deps): update docker/build-push-action action to v5.4.0
* chore(deps): update all github action dependencies
* Prepare for v0.13.6 development
-------------------------------------------------------------------
Fri Jun 07 19:52:59 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 0.13.5:
* Modify version to 0.13.5
* Modify changelog for 0.13.5 release
* Bump golang to v1.21.11
* chore(deps): update github/codeql-action action to v3.25.8
* chore(deps): update github/codeql-action action to v3.25.7
* chore(deps): update docker/login-action action to v3.2.0
* chore(deps): update all github action dependencies
* chore(deps): update golang stable
* Prepare for v0.13.5 development
-------------------------------------------------------------------
Tue May 14 05:23:16 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 0.13.4:
* Modify version to 0.13.4
* Modify changelog for 0.13.4 release
* Bump Golang to v1.21.10
* vendor: Bump Cilium to v1.15.4
* chore(deps): update golangci/golangci-lint-action action to v6
* chore(deps): update all github action dependencies
* chore(deps): update golangci/golangci-lint-action action to
v5.3.0
* chore(deps): update actions/setup-go action to v5.0.1
* chore(deps): update golangci/golangci-lint-action action to
v5.1.0
* chore(deps): update golangci/golangci-lint-action action to v5
* chore(deps): update all github action dependencies
* chore(deps): update helm/kind-action action to v1.10.0
* chore(deps): update all github action dependencies
* chore(deps): update github/codeql-action action to v3.25.1
* CHANGELOG: Use correct year for the last few releases
* Prepare for 0.13.4
-------------------------------------------------------------------
Thu Apr 18 13:16:14 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 0.13.3:
* Modify version to 0.13.3
* Modify changelog for 0.13.3 release
* chore(deps): update docker/setup-buildx-action action to v3.3.0
* chore(deps): update dependency helm/helm to v3.14.4
* chore(deps): update github/codeql-action action to v3.24.10
* chore(deps): update dependency cilium/cilium to v1.15.3
* vendor: update cilium to v1.15.3
* chore(deps): update github/codeql-action action to v3.24.9
* chore(deps): update github/codeql-action action to v3.24.8
* chore(deps): update golang stable
* chore(deps): update all github action dependencies
* chore(deps): update all github action dependencies
* Prepare for 0.13.3
-------------------------------------------------------------------
Sat Mar 23 10:53:03 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- new package hubble: Network, Service & Security Observability for
Kubernetes using eBPF

4
hubble.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: hubble
version: 1.16.0
mtime: 1721918322
commit: 930a8cf4d11175a34e11e6fecaca425ba9dfa330

142
hubble.spec Normal file
View File

@ -0,0 +1,142 @@
#
# spec file for package hubble
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
Name: hubble
Version: 1.16.0
Release: 0
Summary: Network, Service & Security Observability for Kubernetes using eBPF
License: Apache-2.0
URL: https://github.com/cilium/hubble
Source: hubble-%{version}.tar.gz
Source1: vendor.tar.gz
BuildRequires: go >= 1.22
%description
Hubble is a fully distributed networking and security observability platform
for cloud native workloads. It is built on top of Cilium and eBPF to enable
deep visibility into the communication and behavior of services as well as the
networking infrastructure in a completely transparent manner.
Hubble can answer questions such as:
* Service dependencies & communication map:
- What services are communicating with each other? How frequently? What
does the service dependency graph look like?
- What HTTP calls are being made? What Kafka topics does a service consume
from or produce to?
* Operational monitoring & alerting:
- Is any network communication failing? Why is communication failing? Is it
DNS? Is it an application or network problem? Is the communication broken
on layer 4 (TCP) or layer 7 (HTTP)?
- Which services have experienced a DNS resolution problems in the last 5
minutes? Which services have experienced an interrupted TCP connection
recently or have seen connections timing out? What is the rate of unanswered
TCP SYN requests?
* Application monitoring:
- What is the rate of 5xx or 4xx HTTP response codes for a particular
service or across all clusters?
- What is the 95th and 99th percentile latency between HTTP requests and
responses in my cluster? Which services are performing the worst? What is
the latency between two services?
* Security observability:
- Which services had connections blocked due to network policy? What
services have been accessed from outside the cluster? Which services have
resolved a particular DNS name?
%package -n %{name}-bash-completion
Summary: Bash Completion for %{name}
Group: System/Shells
Requires: %{name} = %{version}
Requires: bash-completion
Supplements: (%{name} and bash-completion)
BuildArch: noarch
%description -n %{name}-bash-completion
Bash command line completion support for %{name}.
%package -n %{name}-fish-completion
Summary: Fish Completion for %{name}
Group: System/Shells
Requires: %{name} = %{version}
Supplements: (%{name} and fish)
BuildArch: noarch
%description -n %{name}-fish-completion
Fish command line completion support for %{name}.
%package -n %{name}-zsh-completion
Summary: Zsh Completion for %{name}
Group: System/Shells
Requires: %{name} = %{version}
Supplements: (%{name} and zsh)
BuildArch: noarch
%description -n %{name}-zsh-completion
zsh command line completion support for %{name}.
%prep
%autosetup -p 1 -a 1
%build
COMMIT_HASH="$(sed -n 's/commit: \(.*\)/\1/p' %_sourcedir/hubble.obsinfo)"
go build \
-mod=vendor \
-buildmode=pie \
-ldflags=" \
-X github.com/cilium/cilium/hubble/pkg.GitBranch=main \
-X github.com/cilium/cilium/hubble/pkg.GitHash=${COMMIT_HASH:0:8} \
-X github.com/cilium/cilium/hubble/pkg.Version=%{version}" \
-o bin/hubble .
%install
# Install the binary.
install -D -m 0755 bin/%{name} "%{buildroot}/%{_bindir}/%{name}"
# create the bash completion file
mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions/
%{buildroot}/%{_bindir}/%{name} completion bash > %{buildroot}%{_datarootdir}/bash-completion/completions/%{name}
# create the fish completion file
mkdir -p %{buildroot}%{_datarootdir}/fish/vendor_completions.d/
%{buildroot}/%{_bindir}/%{name} completion fish > %{buildroot}%{_datarootdir}/fish/vendor_completions.d/%{name}.fish
# create the zsh completion file
mkdir -p %{buildroot}%{_datarootdir}/zsh_completion.d/
%{buildroot}/%{_bindir}/%{name} completion zsh > %{buildroot}%{_datarootdir}/zsh_completion.d/_%{name}
%files
%doc README.md
%license LICENSE
%{_bindir}/%{name}
%files -n %{name}-bash-completion
%dir %{_datarootdir}/bash-completion/completions/
%{_datarootdir}/bash-completion/completions/%{name}
%files -n %{name}-fish-completion
%dir %{_datarootdir}/fish
%dir %{_datarootdir}/fish/vendor_completions.d
%{_datarootdir}/fish/vendor_completions.d/%{name}.fish
%files -n %{name}-zsh-completion
%defattr(-,root,root)
%dir %{_datarootdir}/zsh_completion.d/
%{_datarootdir}/zsh_completion.d/_%{name}
%changelog

3
vendor.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b02048662c07f52438570c9fb6094979b96061931de222ef8955dfbbe07e3555
size 5107346